Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
toolchain
/
llvm-project
/
b9c1b51e45b845debb76d8658edabca70ca56079
/
.
/
clang-tools-extra
/
test
/
clang-tidy
/
readability-braces-around-statements-assert-failure.cpp
blob: 146268709e2dccb90473b4b89c498f696461ca82 [
file
] [
log
] [
blame
]
// RUN: clang-tidy -checks='-*,readability-braces-around-statements' %s --
// Note: this test expects no assert failure happened in clang-tidy.
int
test_failure
()
{
if
(
std
::
rand
())
{
}
}
void
test_failure2
()
{
for
(
a b c
;;
}