FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / access2.C
blobbeb02a1f7d865c64eda395167a379ebe879fe48b
1 // Build don't link:
2 // Based on a test-case in the Standard, submitted by several people
4 class Outer {
5   typedef int T;
6   struct Inner {
7     T i; // ERROR - not accessible - XFAIL *-*-*
8     void f() {
9       T j; // ERROR - not accessible - XFAIL *-*-*
10     }
11   };