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
/cp
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
typedef4.C
blob
f776f331c669f797e6873907bf10762edf2ff815
1
// PR c++/27572
2
// { dg-do compile }
3
4
template<typedef> void foo(); // { dg-error "10:typedef declaration" }
5
// { dg-error "no type|template" "" { target *-*-* } .-1 }
6
7
void bar()
8
{
9
foo<int>(); // { dg-error "matching" }
10
}