MC assembly parser handling for trailing comma in macro instantiation.
[oota-llvm.git] / test / MC / AsmParser / directive_symbol_attrs.s
index 186e967395086cff27c2e9e35e465c76b4466e05..99ef3b8e13f6c43dc2c9ec5776018d35f0efb348 100644 (file)
@@ -1,7 +1,7 @@
-# RUN: llvm-mc %s > %t
+# RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s
 
-# RUN: grep -A 3 TEST0 %t > %t2
-# RUN: grep ".globl a" %t2 | count 1
-# RUN: grep ".globl b" %t2 | count 1
+# CHECK: TEST0:
+# CHECK: .globl a
+# CHECK: .globl b
 TEST0:  
         .globl a, b