Merge reload-branch up to revision 101000
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.bugs / 900403_04.C
blob1435bfad3cdf26e3b40189591410661849295db6
1 // { dg-do assemble  }
2 // g++ 1.37.1 bug 900403_04
4 // The following erroneous code causes g++ to abort.
6 // keywords: abort, bit-fields, zero length
8 struct s {
9   unsigned int foo:0;           // { dg-error "" } This is the real line
10   unsigned int field;
13 int main () { return 0; }