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