OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add NIOS2 support. Code from SourceyG++.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
typename11.C
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
};