blob: 50fdc9622e4c7ecde2869e0278f4f7c5f2515218 [file] [log] [blame]
// RUN: clang-cc -fsyntax-only -verify %s
struct C { // expected-note {{candidate function}}
virtual C() = 0; // expected-error{{constructor cannot be declared 'virtual'}} \
expected-note {{candidate function}}
};
void f() {
C c; // expected-error {{call to constructor of 'c' is ambiguous}}
}