OSDN Git Service

Some raw string changes from N3077
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / other / pr42806.C
1 // { dg-do compile }
2 // { dg-options "-O -fcompare-debug" }
3
4 struct S1 {
5     ~S1() { }
6 };
7
8 struct S2 {
9     S1 s1;
10     void m();
11     ~S2() { m(); }
12 };
13
14 struct S3 {
15     S3(int, S2);
16 };
17
18 void foo()
19 {
20   S3(0, S2());
21 }
22