blob: f2f9f43a10d4aeb4f9341f5233df4304b2afdef0 [file] [log] [blame]
// RUN: clang-cc -fsyntax-only -verify %s
struct C {
virtual C() = 0; // expected-error{{constructor cannot be declared 'virtual'}}
};
void f() {
C c;
}