]>
Commit | Line | Data |
---|---|---|
d723358d JM |
1 | // PR c++/60108 |
2 | // { dg-require-effective-target c++11 } | |
3 | ||
4 | template<int> struct A | |
5 | { | |
6 | virtual ~A(); | |
7 | }; | |
8 | ||
9 | template<typename> struct B : A<0>, A<1> | |
10 | { | |
11 | ~B() = default; | |
12 | }; | |
13 | ||
14 | struct C : B<bool> | |
15 | { | |
16 | C() {} | |
17 | }; |