summaryrefslogtreecommitdiff
path: root/test/CodeGen/ms-inline-asm-EVEN.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/ms-inline-asm-EVEN.c')
-rw-r--r--test/CodeGen/ms-inline-asm-EVEN.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/CodeGen/ms-inline-asm-EVEN.c b/test/CodeGen/ms-inline-asm-EVEN.c
new file mode 100644
index 000000000000..a188af30910a
--- /dev/null
+++ b/test/CodeGen/ms-inline-asm-EVEN.c
@@ -0,0 +1,16 @@
+// REQUIRES: x86-registered-target
+// RUN: %clang_cc1 %s -triple i386-apple-darwin10 -fasm-blocks -emit-llvm -o - | FileCheck %s
+
+// CHECK: .byte 64
+// CHECK: .byte 64
+// CHECK: .byte 64
+// CHECK: .even
+void t1() {
+ __asm {
+ .byte 64
+ .byte 64
+ .byte 64
+ EVEN
+ mov eax, ebx
+ }
+}