1// g++ 1.36.1 bug 891230_01
2
3// g++ gives typedefs which are nested within class declarations a scope
4// which is local to the class declaration itself.  This causes examples
5// like the following to get compile-time errors.
6
7// Cfront 2.0 passes this test.
8
9// keywords: typedef, nested types, scope
10
11struct foo {
12
13    typedef foo* foo_p;
14    void member (foo_p);
15};
16
17void foo::member (foo_p p) {	// gets bogus errors
18}
19
20int main () { return 0; }
21