diff options
author | Ted Kremenek <kremenek@apple.com> | 2007-11-29 01:03:21 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2007-11-29 01:03:21 +0000 |
commit | b594a4058941d6c71c9deeef60a1d8a68c56335a (patch) | |
tree | bf7f0cbbaa7bd315116c27d1c1a381b531ed1bbc | |
parent | 9e7f0ecab98c1cec6e7a1600324780122b0c0347 (diff) |
Fixed test case to not expect a warning when one should not be emitted.
Removed redundant test case.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44426 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Sema/floating-point-compare.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/test/Sema/floating-point-compare.c b/test/Sema/floating-point-compare.c index e44ff096b2..ae0d0fe150 100644 --- a/test/Sema/floating-point-compare.c +++ b/test/Sema/floating-point-compare.c @@ -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}} } |