Two sets of changes. Sorry they are intermingled.
[oota-llvm.git] / test / MC / AsmParser / macros.s
index 159dd36bdabb9d1e0ff698a9177e6cebcfcc2f3f..214274d9aa845eeff9d992a6f08cbdc890192588 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: llvm-mc %s 2> %t.err | FileCheck %s
+// RUN: llvm-mc -triple x86_64-apple-darwin10 %s 2> %t.err | FileCheck %s
 // RUN: FileCheck --check-prefix=CHECK-ERRORS %s < %t.err
 
 .macro .test0
@@ -30,3 +30,10 @@ test2 10
 
 // CHECK: .globl       "1 23  $3 2"
 test3 1,2 3
+
+.macro test4
+.globl "$0 -- $1"
+.endmacro
+
+// CHECK: .globl       "ab)(,) -- (cd)"
+test4 a b)(,),(cd)