1 // { dg-do compile { target c++11 } }
2 // { dg-final { scan-assembler-not "_ZN3OneD0Ev" } }
5 // Destructor of an abstract class was never generated
6 // when compiling the class - nor later due to the
8 // -> g++.dg/cpp0x/defaulted61.C
10 // HERE, in g++.dg/cpp0x/defaulted62.C:
11 // As we have commented the pragmas, it should NOT be created
12 // #pragma implementation
18 virtual ~One() = default;
20 virtual void later() = 0;
25 void One::some_fn() { }