Modified -Wfloat-equal logic to suppress warnings where floating point values
are compared against builtins such as __builtin_inf.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44058 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Sema/floating-point-compare.c b/test/Sema/floating-point-compare.c
index cc96be0..d8eff58 100644
--- a/test/Sema/floating-point-compare.c
+++ b/test/Sema/floating-point-compare.c
@@ -11,3 +11,11 @@
 int qux(float x) {
   return x == x; // no-warning
 }
+
+int baz(float x) {
+	return x == 0.0; // no-warning
+}
+
+int taz(float x) {
+	return x == __builtin_inf(); // no-warning
+}
\ No newline at end of file