summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/nest3.C
blob: 0f405eb05e22aef38a9c3a06a2ee4fe93da5424e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// { dg-do assemble  }
// GROUPS passed nested-classes
class X {
public:
  struct M2 { int m; };
  M2 g(int);
};


X::M2 X::g(int i) { X::M2 m2; return m2; }

int main() { }