repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2014-01-30 Alangi Derick <alangiderick@gmail.com>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
enum7.C
blob
8c464a795d82cee405e9fb6bd4a2f3aed6d3e83f
1
// PR c++/53524
2
3
template <class T> struct A { enum EA { ea }; };
4
template <class T, class U> struct B {
5
enum EB { eb1 = A<T>::ea, eb2 = A<U>::ea, eb3 = 0 ? eb1 : eb2 };
6
};
7
8
B<int,char> b;