PR c++/86728 - C variadic generic lambda.
[official-gcc.git] / gcc / testsuite / g++.dg / template / bitfield2.C
blobe9a5320d9ec2dcdf6a93bafc8f965c297f24196f
1 // PR c++/25503
3 template<int N>
4 struct Test
6   Test()
7   {
8     typedef struct StaticAssert {unsigned condition : (N); } XXX; // { dg-error "zero width" }
9   }
12 int
13 main()
15   Test<0> T;