FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.bugs / 900402_01.C
blob946e6d1e0d31b540903588bf0ed34c84325e49c5
1 // g++ 1.37.1 bug 900402_01
3 // The following erroneous code causes g++ to abort.
5 // Cfront 2.0 passes this test.
7 // keywords: abort, bit-fields, function types
9 typedef void (func_type) ();
11 struct s {
12   func_type f:32;       // ERROR - bitified with function type
15 int main () { return 0; }