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:
Ted Kremenek 2007-11-29 01:03:21 +00:00
parent 0865d8a5d0
commit 2501c8294f
1 changed files with 1 additions and 5 deletions

View File

@ -13,17 +13,13 @@ int f3(float x) {
}
int f4(float x) {
return x == 0.0; // expected-warning {{comparing}}
return x == 0.0; // no-warning {{comparing}}
}
int f5(float x) {
return x == __builtin_inf(); // no-warning
}
int f6(float x) {
return x == 0.0; // no-warning
}
int f7(float x) {
return x == 3.14159; // expected-warning {{comparing}}
}