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
[lld][WebAssembly] Reinstate mistakenly disabled test. NFC
[llvm-project.git]
/
clang
/
test
/
SemaCXX
/
cast-explicit-ctor.cpp
blob
41d2fa2fbf2c75839c3a4f978787b8bb2eaa9e58
1
// RUN: %clang_cc1 -fsyntax-only -verify %s
2
// expected-no-diagnostics
3
struct
B
{
explicit
B
(
bool
); };
4
void
f
() {
5
(
void
)(
B
)
true
;
6
(
void
)
B
(
true
);
7
}