2 // { dg-do compile { target c++11 } }
6 virtual int foo() const = 0;
11 TestClass(const MyAbstractClass& m = {}) // { dg-error "abstract type" }
17 int TestFunction(const MyAbstractClass& m = {}) // { dg-error "abstract type" }
24 TestClass testInstance; // { dg-error "abstract type" }
25 TestFunction(); // { dg-error "abstract type" }