PR c++/86728 - C variadic generic lambda.
[official-gcc.git] / gcc / testsuite / g++.dg / template / static1.C
blob5218414b7dbdc7b1c88e9a2ed214877a904a04ac
1 template <typename T> struct A
3   static const int t[1][1]={{0}}; // { dg-error "20:'constexpr' needed" "" { target c++11 } }
4   // { dg-error "20:invalid in-class" "" { target c++98_only } .-1 }
5   // { dg-error "28:a brace-enclosed" "" { target c++98_only } .-2 }
6 };