blob: 339539189ed7b1fe20a1e4c29d5c3dfa531258c9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
// RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-store=region -verify %s
// expected-no-diagnostics
bool PR14634(int x) {
double y = (double)x;
return !y;
}
bool PR14634_implicit(int x) {
double y = (double)x;
return y;
}
|