| 1 |
// { dg-do assemble } |
| 2 |
// Based on a testcase in the Standard, submitted by several people |
| 3 |
|
| 4 |
class Outer { |
| 5 |
typedef int T; |
| 6 |
struct Inner { |
| 7 |
T i; // { dg-error "" "" { xfail *-*-* } } not accessible - |
| 8 |
void f() { |
| 9 |
T j; // { dg-error "" "" { xfail *-*-* } } not accessible - |
| 10 |
} |
| 11 |
}; |
| 12 |
}; |