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
2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.ns
/
template11.C
blob
4363773cd7d132fa8f87bdb0b4325d11dd488b69
1
// { dg-do run }
2
void foo(){}
3
4
namespace Bar{
5
template<class X>
6
class Y{
7
friend void foo(Y<X>){}
8
};
9
}
10
11
int main()
12
{
13
Bar::Y<int> y;
14
foo(y);
15
foo();
16
}