PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git] / gcc / testsuite / g++.dg / template / sizeof11.C
blob7428e0b238071970ec9fce88de18e719376209ae
1 // PR c++/29435
3 template < class T > struct A {};
4 template < int> void g()
6   sizeof (A < int>);
9 template < class T > struct B;
10 template < int> void f()
12   sizeof (B<int>); // { dg-error "incomplete" }