aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/typedef1.C
blob: 8d674c9f127e355be9ae7fd4ee7f1989fb445cd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Testcase for handling of typedef wierdness.
// Build don't link:

template <class T>
struct A
{
  typedef enum
  {
    foo
  } B;

  A (B b);
};

template <class T>
A<T>::A (B b)
{
}