blob: 7428e0b238071970ec9fce88de18e719376209ae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// PR c++/29435
template < class T > struct A {};
template < int> void g()
{
sizeof (A < int>);
}
template < class T > struct B;
template < int> void f()
{
sizeof (B<int>); // { dg-error "incomplete" }
}
|