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
FSF GCC merge 02/23/03
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
copy3.C
blob
aa2c9058f8fd1e5a65dc3c2fa4df9282460653b5
1
// Build don't run:
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
}