diff options
author | Chad Rosier <mcrosier@apple.com> | 2012-12-05 21:08:21 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2012-12-05 21:08:21 +0000 |
commit | 15490fd42d7d8dca2f9b5b3a9dc074892ca1acd7 (patch) | |
tree | 3773b1689141af21b0cd97d3c563a8f372a3fafb /test/CodeGen/ms-inline-asm.c | |
parent | a3064c32d378d3a11f87945047c040276850ce4b (diff) |
[driver, ms-inline asm] MS-Style inline assembly is controlled by the
-fasm-blocks flag, not the -fms-extensions flag.
rdar://12808010
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169422 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ms-inline-asm.c')
-rw-r--r-- | test/CodeGen/ms-inline-asm.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/CodeGen/ms-inline-asm.c b/test/CodeGen/ms-inline-asm.c index d0e9a7b115..f587afd106 100644 --- a/test/CodeGen/ms-inline-asm.c +++ b/test/CodeGen/ms-inline-asm.c @@ -1,5 +1,5 @@ // REQUIRES: x86-64-registered-target -// RUN: %clang_cc1 %s -triple i386-apple-darwin10 -O0 -fms-extensions -fenable-experimental-ms-inline-asm -w -emit-llvm -o - | FileCheck %s +// RUN: %clang_cc1 %s -triple i386-apple-darwin10 -O0 -fasm-blocks -fenable-experimental-ms-inline-asm -w -emit-llvm -o - | FileCheck %s void t1() { // CHECK: @t1 @@ -201,7 +201,6 @@ void t20() { // CHECK: call void asm sideeffect inteldialect "mov eax, $$4", "~{eax},~{dirflag},~{fpsr},~{flags}"() nounwind } - void t21() { __asm { __asm push ebx |