diff options
author | Erik Pilkington <erik.pilkington@gmail.com> | 2019-02-16 01:51:19 +0000 |
---|---|---|
committer | Erik Pilkington <erik.pilkington@gmail.com> | 2019-02-16 01:51:19 +0000 |
commit | 3c9670064798750eaa0ae8179dcd7e45f57cb5d3 (patch) | |
tree | b61ca47647008714a3824c10a0bdf5edc267a4a7 /test/Sema | |
parent | 9646c558147d7a895decad295f05197996832d35 (diff) | |
download | clang-3c9670064798750eaa0ae8179dcd7e45f57cb5d3.tar.gz |
Fix some tests I broke in r354190
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
Diffstat (limited to 'test/Sema')
-rw-r--r-- | test/Sema/warn-double-promotion.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/warn-double-promotion.c b/test/Sema/warn-double-promotion.c index 0cf33e84b4..5742a4fb3c 100644 --- a/test/Sema/warn-double-promotion.c +++ b/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; |