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
2014-01-30 Alangi Derick <alangiderick@gmail.com>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
friend47.C
blob
612173950a7eaccf2736c01b2ec841df2f33ac83
1
// PR c++/19809
2
3
template<int i>
4
struct n{
5
friend void foo(){ } // { dg-error "defin" }
6
};
7
8
int main(){
9
n<1> n1;
10
n<2> n2;
11
}