summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.gb/scope08.C
blob: 4f7c1d384f7008a41dc2b0d51d98424fd050175c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// { dg-do assemble  }
// GROUPS passed gb scope
template <class X> class C {
public:
  int f (X ob) { return 0; }
  int g (X ob) { return f (ob); }
};

class D {
public:
  class E { public: E (); };

  C <E> x;
};