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
* g++.dg/template/friend19.C: Fix typo.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
explicit8.C
1
// { dg-do assemble }
2
// GROUPS passed templates
3
template <class T, class U>
4
void foo(T t, U u);
5
6
template <class U>
7
void foo(double, U) {}
8
9
void baz()
10
{
11
foo<char*>(3.0, "abc");
12
foo<char*, double>("abc", 3.0);
13
}