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-common.c (get_priority): Add check for
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
t28.C
blob
64b1a56e8e704c5991fe0ba6939c8f0c07071733
1
// { dg-do assemble }
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
}