Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
4a529d26d6ccfc9b3d11031f1256f4f87055c562
/
.
/
test
/
SemaCXX
/
cast-explicit-ctor.cpp
blob: 0052856d2ff928d7601b68a0b3ffaadd6c069113 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify %s
struct
B
{
explicit
B
(
bool
);
};
void
f
()
{
(
void
)(
B
)
true
;
(
void
)
B
(
true
);
}