summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/typename20.C
blob: 0f6c4fc1ef454d6a6b00b04c5788121d997b6230 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Build don't link:
// Origin: Mark Mitchell <mark@codesourcery.com>
// Special g++ Options:

template <class T>
struct B {
  typedef int I;
};

template <class T, class X = int>
struct S : public B <T> {
  struct I {
  };

  void f(int i = true) {}
};