Sign in
cobalt
/
cobalt
/
e83fce97d7405b0b5e569d961aa431b1112ac6ac
/
.
/
src
/
third_party
/
llvm-project
/
clang-tools-extra
/
test
/
clang-tidy
/
readability-braces-around-statements-assert-failure.cpp
blob: 7d619c0ba5922e6af40ee4229b6643c724e6a35a [
file
] [
log
] [
blame
]
// RUN: not 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
;;
}