repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[mlir] Fix typo in test vector transform pass descriptions (#118194)
[llvm-project.git]
/
clang
/
test
/
SemaCXX
/
constructor-recovery.cpp
blob
a0d8441012c57e90568d33c0b375d6580a4a7eee
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
7
void
f
() {
8
C c
;
// expected-error {{no matching constructor}}
9
}