[mlir] Fix typo in test vector transform pass descriptions (#118194)
[llvm-project.git] / clang / test / SemaCXX / constructor-recovery.cpp
bloba0d8441012c57e90568d33c0b375d6580a4a7eee
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
3 struct C { // expected-note 1+{{candidate}}
4 virtual C() = 0; // expected-error{{constructor cannot be declared 'virtual'}}
5 };
7 void f() {
8 C c; // expected-error {{no matching constructor}}