]> granicus.if.org Git - clang/commitdiff
Fixed test case to not expect a warning when one should not be emitted.
authorTed Kremenek <kremenek@apple.com>
Thu, 29 Nov 2007 01:03:21 +0000 (01:03 +0000)
committerTed Kremenek <kremenek@apple.com>
Thu, 29 Nov 2007 01:03:21 +0000 (01:03 +0000)
Removed redundant test case.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44426 91177308-0d34-0410-b5e6-96231b3b80d8

test/Sema/floating-point-compare.c

index e44ff096b2e675f91c021092bd5bb1705b955847..ae0d0fe1509140d7b6231df97e33bfb747203b58 100644 (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}}
 }