xref: /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.other/access2.C (revision c87b03e512fc05ed6e0222f6fb0ae86264b1d05b)
1 // Build don't link:
2 // Based on a test-case in the Standard, submitted by several people
3 
4 class Outer {
5   typedef int T;
6   struct Inner {
7     T i; // ERROR - not accessible - XFAIL *-*-*
fInner8     void f() {
9       T j; // ERROR - not accessible - XFAIL *-*-*
10     }
11   };
12 };
13