This was breaking on MSVC, since long double and double have the same
semantics there.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@354192
91177308-0d34-0410-b5e6-
96231b3b80d8
-// RUN: %clang_cc1 -isystem %S -Wdouble-promotion -fsyntax-only %s 2>&1 | FileCheck -allow-empty %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -isystem %S -Wdouble-promotion -fsyntax-only %s 2>&1 | FileCheck -allow-empty %s
// CHECK: warning:
// CHECK: expanded from macro 'ISNAN'
// CHECK: expanded from macro 'isnan'
-// RUN: %clang_cc1 -verify -fsyntax-only %s -Wdouble-promotion
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -verify -fsyntax-only %s -Wdouble-promotion
float ReturnFloatFromDouble(double d) {
return d;