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
7template <typename T>
8struct Foo {
9  enum E {a,b,c};
10  typedef E EE;
11};
12
13void Baz(Foo<int>::EE x);
14