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++ PATCH] Deprecate -ffriend-injection
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
expr
/
call1.C
blob
42d18db563efcd207c4cca83cc1d6076c79a4e8c
1
namespace NS_1 {
2
struct A {};
3
struct foo {};
4
}
5
6
namespace NS_2 {
7
template <typename T> void foo(T);
8
9
template <typename T>
10
void bar() {
11
NS_1::A a;
12
NS_2::foo(a);
13
}
14
15
template void bar<int>();
16
}