PR c++/86728 - C variadic generic lambda.
[official-gcc.git] / gcc / testsuite / g++.dg / template / error33.C
blobf71496d177d4c6aa290d28beca26887940537a6b
1 // PR c++/24791
3 template<int> struct A
5     static int i;
6     A() { ++i; }
7 };
9 template<int> int A<0>::i(0);   // { dg-error "template" "error" }
10 // { dg-message "note" "note" { target *-*-* } .-1 }
12 A<0> a;