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
* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
parse
/
error10.C
blob
46c9eff7bbcc0be43f6265ca4c9bea38641adb54
1
// PR c++/3478
2
// { dg-options "-fshow-column" }
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;
15
}
16
17
// { dg-error "28:two or more data types in declaration of 'e4'" "2 or more" { target *-*-* } 14 }