repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
parse
/
non-dependent1.C
blob
d85ecb13ae49e2d1c537c1b5e773755816680426
1
// PR c++/8921
2
// Origin: Chin-Lung Chang <evirt@iis.sinica.edu.tw>
3
// { dg-do compile }
4
5
struct A
6
{
7
template <typename T> void foo();
8
};
9
10
template <typename T> void bar(A& a)
11
{
12
a.foo<T>();
13
}
14
15
void baz()
16
{
17
A a;
18
bar<int>(a);
19
}