Debian Codegraph @

gcc/testsuite/g++.dg/template/instantiate4.C

raw
1 // { dg-do compile }
2
3 // Origin: Wolfgang Bangerth <[email protected]>
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);