OSDN Git Service

/cp
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / instantiate4.C
1 // { dg-do compile }
2
3 // Origin: Wolfgang Bangerth <bangerth@ticam.utexas.edu>
4
5 // PR c++/10682: Typedef to enum template instantiation logic.
6
7 template <typename T>
8 struct Foo {
9   enum E {a,b,c};
10   typedef E EE;
11 };
12
13 void Baz(Foo<int>::EE x);