aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/Sema/floating-point-compare.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/floating-point-compare.c b/test/Sema/floating-point-compare.c
index d8eff58e92..ac8fed2d62 100644
--- a/test/Sema/floating-point-compare.c
+++ b/test/Sema/floating-point-compare.c
@@ -13,7 +13,7 @@ int qux(float x) {
}
int baz(float x) {
- return x == 0.0; // no-warning
+ return x == 0.0; // expected-warning {{comparing}}
}
int taz(float x) {