| 1 |
// PR c++/35325 |
| 2 |
// { dg-options "" } |
| 3 |
|
| 4 |
template<int> struct A {}; |
| 5 |
|
| 6 |
template<typename> struct B : A<sizeof(0=0r)> {}; // { dg-error "not supported" } |
| 7 |
|
| 8 |
template<typename> struct C : A<sizeof(0=0r)> {}; // { dg-error "not supported" } |
| 9 |
|
| 10 |
// { dg-prune-output "template argument" } |