1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2
3 struct C { // expected-note 1+{{candidate}}
4 virtual C() = 0; // expected-error{{constructor cannot be declared 'virtual'}}
5 };
6
f()7 void f() {
8 C c; // expected-error {{no matching constructor}}
9 }
10