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