OSDN Git Service

PR c++/54858
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / sizeof11.C
1 // PR c++/29435
2
3 template < class T > struct A {};
4 template < int> void g()
5 {
6   sizeof (A < int>);
7 }
8
9 template < class T > struct B;
10 template < int> void f()
11 {
12   sizeof (B<int>); // { dg-error "incomplete" }
13 }
14