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
Update concepts branch to revision 131834
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
crash42.C
blob
d36ced473abff3183c5abe0875bbc44d38442fd3
1
// { dg-do compile }
2
3
// PR c++/22153
4
5
template<int> void foo();
6
7
template<int> struct A
8
{
9
template<> friend void foo<0>(); // { dg-error "" }
10
};