2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.bugs / 900402_01.C
blob42533861fd1ecb2747bf45eec5d33c7d51a73217
1 // { dg-do assemble  }
2 // g++ 1.37.1 bug 900402_01
4 // The following erroneous code causes g++ to abort.
6 // Cfront 2.0 passes this test.
8 // keywords: abort, bit-fields, function types
10 typedef void (func_type) ();
12 struct s {
13   func_type f:32;       // { dg-error "" } bitified with function type
16 int main () { return 0; }