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
PR c++/3004
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
parse
/
template11.C
1
// PR c++/9488
2
// Origin: Wolfgang Bangerth <bangerth@ticam.utexas.edu>
3
// { dg-do compile }
4
5
struct A
6
{
7
template <typename> void foo() {}
8
};
9
10
template <typename T> struct B
11
{
12
void bar() { A().foo<T>(); }
13
};
14
15
template struct B<int>;