blob: 3e5792bc40d0ad52384f2e4d0b33ca1a0638a0fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// RUN: %clang_analyze_cc1 -triple x86_64-unknown-linux-gnu -analyzer-checker=core -verify %s
// expected-no-diagnostics
// https://bugs.llvm.org/show_bug.cgi?id=37622
_Bool a(void) {
return !({ a(); });
}
// https://bugs.llvm.org/show_bug.cgi?id=37646
_Bool b;
void c(void) {
_Bool a = b | 0;
for (;;)
if (a)
;
}
|