PR c++/86728 - C variadic generic lambda.
[official-gcc.git] / gcc / testsuite / g++.dg / template / error51.C
blob304a13a70fb00ed23e618085f41a9dd2c736d788
1 // PR c++/26572
3 template<int> void foo()
5   struct A;                // { dg-message "declaration" }
6   struct B : A {};         // { dg-error "invalid use of incomplete" }
9 template void foo<0>();