aboutsummaryrefslogtreecommitdiff
path: root/test/Sema/floating-point-compare.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Sema/floating-point-compare.c')
-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 62388915a2..cc96be0fd3 100644
--- a/test/Sema/floating-point-compare.c
+++ b/test/Sema/floating-point-compare.c
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang -fsyntax-only -Wfloat-equal -verify %s
int foo(float x, float y) {
return x == y; // expected-warning {{comparing floating point with ==}}