]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/g++.old-deja/g++.mike/net2.C
call.c (struct conversion_info): Rename 'from_type' to 'from'.
[thirdparty/gcc.git] / gcc / testsuite / g++.old-deja / g++.mike / net2.C
CommitLineData
6481daa9 1// { dg-do assemble }
921e5a0e
JL
2// Here is another program from the net.
3
4class B;
5
48ca24b2 6class A { // { dg-message "note" } copy ctor candidate
921e5a0e 7 private:
48ca24b2 8 A(B *); // { dg-message "note" }
921e5a0e 9 public:
48ca24b2 10 A(long); // { dg-message "note" }
921e5a0e
JL
11};
12
48ca24b2 13A a(0); // { dg-error "ambiguous" }