]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/g++.dg/init/synth2.C
call.c (struct conversion_info): Rename 'from_type' to 'from'.
[thirdparty/gcc.git] / gcc / testsuite / g++.dg / init / synth2.C
1 // PR c++/34180
2
3 struct G {
4 G(); // { dg-message "" "candidate" }
5 G(G&); // { dg-message "" "candidate" }
6 };
7
8 class A // { dg-error "" }
9 {
10 const G g;
11 };
12
13 int main()
14 {
15 A a;
16 A b = a; // { dg-message "required here|deleted" }
17 }