2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.bugs / 900519_12.C
blobe08aba1af1f0bc0ac357d26ecb67513d88cd4858
1 // { dg-do assemble  }
2 // g++ 1.37.1 bug 900519_12
4 // The following erroneous code causes g++ to segfault.
6 // cfront 2.0 passes this test.
8 // keywords: segfault, typedef, pointer type, function type
10 typedef eek void (*)();         // { dg-error "" } 
12 int main () { return 0; }