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
* class.c (resolve_address_of_overloaded_function): Don't
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
copy3.C
1
// { dg-do link }
2
// Origin: ericp@mit.edu
3
4
class bar {
5
};
6
7
class foo {
8
foo (const foo &f);
9
10
public:
11
12
foo (bar x) {}
13
foo () {}
14
15
void test (const foo &f) {}
16
};
17
18
int main (void) {
19
foo f;
20
bar b;
21
22
f.test (b);
23
}