repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
other
/
pr28304.C
blob
c86efd48963724236ff67ba2d33a2d27f390e6b1
1
2
// Test to make sure we do not ICE on this invalid program.
3
4
struct A {};
5
6
template<typename T> void A::foo(T) {} // { dg-error "" }
7
8
void bar()
9
{
10
A::foo(1); // { dg-error "no matching function for call" }
11
}