2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / 900519_12.C
blob82d0f9f7d8a2de9969d5d0119a1e5069195927ee
1 // { dg-do assemble  }
2 // GROUPS abort
3 // g++ 1.37.1 bug 900519_12
5 // The following erroneous code causes g++ to segfault.
7 // cfront 2.0 passes this test.
9 // keywords: segfault, typedef, pointer type, function type
11 typedef eek void (*)();         // { dg-error "" }