Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.bugs/900402_01.C

raw
1 // { dg-do assemble }
2 // g++ 1.37.1 bug 900402_01
3
4 // The following erroneous code causes g++ to abort.
5
6 // Cfront 2.0 passes this test.
7
8 // keywords: abort, bit-fields, function types
9
10 typedef void (func_type) ();
11
12 struct s {
13 func_type f:32; // { dg-error "" } bitified with function type
14 };
15
16 int main () { return 0; }