summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/error7.C
blob: 3c1a0e1f21b1fd5b1328dd11739f856a46201c6c (plain)
1
2
3
4
5
6
// PR c++/13314
// { dg-options "-O2" }

struct A { template <int> struct B; };
struct A::B {}; // { dg-error "" }
A::B<0> b; // { dg-error "" }