blob: e9a5320d9ec2dcdf6a93bafc8f965c297f24196f [file] [log] [blame]
// PR c++/25503
template<int N>
struct Test
{
Test()
{
typedef struct StaticAssert {unsigned condition : (N); } XXX; // { dg-error "zero width" }
}
};
int
main()
{
Test<0> T;
}