forked from OSchip/llvm-project
Fixed test case to not expect a warning when one should not be emitted.
Removed redundant test case. llvm-svn: 44426
This commit is contained in:
parent
0865d8a5d0
commit
2501c8294f
|
@ -13,17 +13,13 @@ int f3(float x) {
|
||||||
}
|
}
|
||||||
|
|
||||||
int f4(float x) {
|
int f4(float x) {
|
||||||
return x == 0.0; // expected-warning {{comparing}}
|
return x == 0.0; // no-warning {{comparing}}
|
||||||
}
|
}
|
||||||
|
|
||||||
int f5(float x) {
|
int f5(float x) {
|
||||||
return x == __builtin_inf(); // no-warning
|
return x == __builtin_inf(); // no-warning
|
||||||
}
|
}
|
||||||
|
|
||||||
int f6(float x) {
|
|
||||||
return x == 0.0; // no-warning
|
|
||||||
}
|
|
||||||
|
|
||||||
int f7(float x) {
|
int f7(float x) {
|
||||||
return x == 3.14159; // expected-warning {{comparing}}
|
return x == 3.14159; // expected-warning {{comparing}}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue