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
Dead
[official-gcc.git]
/
gomp-20050608-branch
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
spec18.C
blob
aec979a8115d13e85f5e3e8f2a73a02e8d634b8e
1
// { dg-do assemble }
2
3
template<class A, class B>
4
void foo(const A& a, const B& b)
5
{
6
}
7
8
template<class A, class B>
9
void foo(const A& a, const int& b)
10
{
11
}
12
13
template<class A*, class B>
14
void foo(const A*& a, const B& b)
15
{
16
}
17
18
template<>
19
void foo(const int&, const double&)
20
{
21
}
22
23
24
int
25
main()
26
{
27
foo("98239", 23);
28
foo(232, 1.022);
29
}
30