2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / defaulted16.C
blobf866c8e982b15bdcf4e430984680357ae77f0ebe
1 // Test that non-inline default causes the function to be defined even if
2 // it isn't used.
4 // { dg-do compile { target c++11 } }
5 // { dg-final { scan-assembler "_ZN1AC1Ev" } }
7 struct A
9   A();
12 A::A() = default;