1 // RUN: %clang_cc1 -fsyntax-only -verify %s
4 virtual void f() = 0; // expected-note{{unimplemented pure virtual method}}
12 virtual void f() = 0; // expected-note 2{{unimplemented pure virtual method}}
19 (void)new A
; // expected-error{{abstract class}}
21 (void)new C
; // expected-error{{abstract class}}
22 (void)new D
; // expected-error{{abstract class}}