diff options
author | Chad Rosier <mcrosier@apple.com> | 2012-09-10 20:54:39 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2012-09-10 20:54:39 +0000 |
commit | 3c4ecd7dab5567017ad573769b0af484479bac6f (patch) | |
tree | 640c42318b5c3989944f8c6e6b13cbb61afc42e4 /test/MC | |
parent | b6d52a5b4aa56292ad4085e87b9e5e618f795a1e (diff) |
[ms-inline asm] Add support for .att_syntax directive.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163542 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r-- | test/MC/X86/intel-syntax-2.s | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/MC/X86/intel-syntax-2.s b/test/MC/X86/intel-syntax-2.s index ca4afc3173..c377e1a57e 100644 --- a/test/MC/X86/intel-syntax-2.s +++ b/test/MC/X86/intel-syntax-2.s @@ -1,7 +1,9 @@ -// RUN: llvm-mc -triple x86_64-unknown-unknown %s | FileCheck %s +// RUN: llvm-mc -triple x86_64-unknown-unknown -x86-asm-syntax=att %s | FileCheck %s .intel_syntax _test: // CHECK: movl $257, -4(%rsp) mov DWORD PTR [RSP - 4], 257 - + .att_syntax +// CHECK: movl $257, -4(%rsp) + movl $257, -4(%rsp)
\ No newline at end of file |