Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.bugs/900403_04.C

raw
1 // { dg-do assemble }
2 // g++ 1.37.1 bug 900403_04
3
4 // The following erroneous code causes g++ to abort.
5
6 // keywords: abort, bit-fields, zero length
7
8 struct s {
9 unsigned int foo:0; // { dg-error "" } This is the real line
10 unsigned int field;
11 };
12
13 int main () { return 0; }