Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
c2112181b96349eb595dc5e8b7073b81ecdec0db
/
.
/
test
/
SemaCXX
/
constructor-recovery.cpp
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
;
}