Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
bitfield2.C
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
;
}