Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
b75009c53084f97a8e295164c07d1007e66ccefa
/
.
/
test
/
Analysis
/
casts.cpp
blob: 339539189ed7b1fe20a1e4c29d5c3dfa531258c9 [
file
] [
log
] [
blame
]
// 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
;
}