aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/access2.C
blob: beb02a1f7d865c64eda395167a379ebe879fe48b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Build don't link:
// Based on a test-case in the Standard, submitted by several people

class Outer {
  typedef int T;
  struct Inner {
    T i; // ERROR - not accessible - XFAIL *-*-*
    void f() {
      T j; // ERROR - not accessible - XFAIL *-*-*
    }
  };
};