Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
defaulted16.C
blob: f866c8e982b15bdcf4e430984680357ae77f0ebe [
file
] [
log
] [
blame
]
// Test that non-inline default causes the function to be defined even if
// it isn't used.
// { dg-do compile { target c++11 } }
// { dg-final { scan-assembler "_ZN1AC1Ev" } }
struct
A
{
A
();
};
A
::
A
()
=
default
;