summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/constexpr-virtual.C
blob: 448ecb1dc702afc4d6e959a17d48cf24080012ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// PR c++/47067
// { dg-options -std=c++0x }

struct X {
    virtual void x();
    virtual ~X();
};

struct Y {
    virtual void y();
    virtual ~Y();
};

struct Z: X, Y {} z;