PR c++/85765 - SFINAE and non-type default template arg.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / defaulted34.C
blobff777f6cf878200af2bef11d74e367cce476160b
1 // { dg-do compile { target c++11 } }
2 // { dg-final { scan-assembler "__cxa_deleted_virtual" } }
4 struct A
6   virtual void f();
7   virtual ~A() = delete;
8 };
10 void A::f() {}