repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
template
/
instantiate4.C
blob
732b8529de2257959ace74e41041dfc39143aaaf
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);