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
[31/77] Use scalar_int_mode for move2add
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.mike
/
net2.C
blob
f2240ddfc18c6094272f1e24412c1de63f8967d6
1
// { dg-do assemble }
2
// Here is another program from the net.
3
4
class B;
5
6
class A { // { dg-message "note" } copy ctor candidate
7
private:
8
A(B *); // { dg-message "note" }
9
public:
10
A(long); // { dg-message "note" }
11
};
12
13
A a(0); // { dg-error "ambiguous" }