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
Merge reload-branch up to revision 101000
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
copy3.C
blob
3b74a905f5e56d4fbaa3115a5c887e7df536ab11
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
}