☰
Debian Codegraph
@
1:19.1.7-22
1:19.1.7-20
/
/
clang-tools-extra
/
test
/
clang-tidy
/
checkers
/
bugprone
/
inc-dec-in-conditions-bitint-no-crash.c
☽
☼
clang-tools-extra/test/clang-tidy/checkers/bugprone/inc-dec-in-conditions-bitint-no-crash.c
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
1
// RUN: %check_clang_tidy %s bugprone-inc-dec-in-conditions %t
2
3
_BitInt(8) v_401_0() {
4
0 && ({
5
_BitInt(5) y = 0;
6
16777215wb ?: ++y;
7
});
8
}
9
// CHECK-MESSAGES: warning