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
new testcases
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
t28.C
1
// Build don't link:
2
3
template <class X> class B;
4
template <class X> int f (B<X> b) { return 37; }
5
template <class Y> class B { public: Y y; B() { y = 1; } };
6
7
int foo () {
8
B<double> bd;
9
return f(bd);
10
}