2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.bugs / 900401_01.C
blobcef7175f7606b2d1f63addc681ed8bac2294c8c0
1 // { dg-do assemble  }
2 // g++ 1.37.1 bug 900401_01
4 // The following erroneous code causes g++ to abort.
6 // Cfront 2.0 passes this test.
8 // keywords: abort, bit-fields, arrays
10 typedef unsigned nibble_array[4];
12 struct whole {
13   nibble_array nibbles:16;      // { dg-error "" } 
16 int main () { return 0; }