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
c++: robustify testcase [PR109752]
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
typename11.C
blob
fb776105f436977add362f6ea0fa782bae5eb7fa
1
// PR c++/28999
2
3
namespace N
4
{
5
template<int> void foo();
6
}
7
8
template<int> struct A
9
{
10
friend void typename N::foo<0>(); // { dg-error "type|expected" }
11
};