diff options
Diffstat (limited to 'test/MC/X86/intel-syntax-2.s')
-rw-r--r-- | test/MC/X86/intel-syntax-2.s | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/MC/X86/intel-syntax-2.s b/test/MC/X86/intel-syntax-2.s new file mode 100644 index 00000000000..d6dbe152cd5 --- /dev/null +++ b/test/MC/X86/intel-syntax-2.s @@ -0,0 +1,9 @@ +// 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) |