blob: e1025e357b3252a53ef24028dfa387f2160bdc61 [file] [log] [blame]
// PR c++/62302
// { dg-do compile { target *-*-*gnu* } }
// { dg-final { scan-assembler "_ZN3optIiED5Ev,comdat" } }
// { dg-final { scan-assembler-not "_ZN3optIiED0Ev,comdat" } }
// { dg-final { scan-assembler-not "_ZN3optIiED1Ev,comdat" } }
// { dg-final { scan-assembler-not "_ZN3optIiED2Ev,comdat" } }
struct Option {
virtual ~Option() {}
};
template <class DataType> class opt : public Option {};
template class opt<int>;