diff options
-rw-r--r-- | clang/test/Misc/warn-in-system-macro-def.c | 2 | ||||
-rw-r--r-- | clang/test/Sema/warn-double-promotion.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Misc/warn-in-system-macro-def.c b/clang/test/Misc/warn-in-system-macro-def.c index b295130702f..bdf7d39325e 100644 --- a/clang/test/Misc/warn-in-system-macro-def.c +++ b/clang/test/Misc/warn-in-system-macro-def.c @@ -1,4 +1,4 @@ -// 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' diff --git a/clang/test/Sema/warn-double-promotion.c b/clang/test/Sema/warn-double-promotion.c index 0cf33e84b42..5742a4fb3cb 100644 --- a/clang/test/Sema/warn-double-promotion.c +++ b/clang/test/Sema/warn-double-promotion.c @@ -1,4 +1,4 @@ -// 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; |