Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
395228fdc343df39c2507e414dc1406a185c6d37
/
.
/
test
/
SemaCXX
/
cast-explicit-ctor.cpp
blob: 41d2fa2fbf2c75839c3a4f978787b8bb2eaa9e58 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics
struct
B
{
explicit
B
(
bool
);
};
void
f
()
{
(
void
)(
B
)
true
;
(
void
)
B
(
true
);
}