2 // g++ 1.36.1 bug 891229_02
4 // g++ limits the scope of names which are declared as typedef names within
5 // another type to that other type.
7 // This conflicts with the (global) scope given to such names by cfront 2.0.
9 // Cfront 2.0 passes this test.
11 // Note 2/15/94: The standard has changed; this limiting of scope is correct
12 // behavior. See 9.9. --jason
14 // keywords: typedef, nested types, scope
18 typedef void (*function_p) (void);
21 function_p fp; // { dg-error "" } no such type in scope
25 int main () { return 0; }