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
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
explicit67.C
1
struct S
2
{
3
void f(int);
4
void f(double);
5
};
6
7
void g(int);
8
void g(double);
9
10
template <int* IP>
11
void foo();
12
template <long l>
13
void foo();
14
15
void bar()
16
{
17
foo<S::f>(); // ERROR - no matching function
18
foo<g>(); // ERROR - no matching function
19
20
}