Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
67f496497532a8b58b8bae11772aea858124475c
/
.
/
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
;
}