Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
instantiate4.C
blob: 732b8529de2257959ace74e41041dfc39143aaaf [
file
] [
log
] [
blame
]
// { dg-do compile }
// Origin: Wolfgang Bangerth <bangerth@ticam.utexas.edu>
// PR c++/10682: Typedef to enum template instantiation logic.
template
<
typename
T
>
struct
Foo
{
enum
E
{
a
,
b
,
c
};
typedef
E EE
;
};
void
Baz
(
Foo
<int>
::
EE x
);