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
2011-10-16 Janus Weil <janus@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
friend33.C
1
// { dg-do compile }
2
// PR c++/18733: Validation of template headers in friends
3
4
template<int> struct A
5
{
6
void foo();
7
};
8
9
struct B
10
{
11
friend void A<0>::foo();
12
};