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
2008-07-06 Kai Tietz <kai.tietz@onevision.com>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
parse
/
error10.C
blob
242c421c46323a05445c265de40fe4a6483e8f6a
1
// PR c++/3478
2
// { dg-options "" }
3
4
template <typename> struct A
5
{
6
enum E {};
7
};
8
9
template <typename T> void foo()
10
{
11
enum A<void>::E e1;
12
typename A<T>::E e2;
13
enum A<T>::E e3;
14
enum typename A<T>::E e4; // { dg-error "" }
15
}