Centralize the handling of unique ids for temporary labels.
[oota-llvm.git] / test / MC / AsmParser / directive_set.s
index 51119a661cad2f021460a3188d5b547a1f76280b..8d4180a364b61007144d4629ea4a2a7121744b7c 100644 (file)
@@ -1,7 +1,14 @@
-# RUN: llvm-mc %s > %t
+# RUN: llvm-mc -triple i386-unknown-elf %s | FileCheck %s
 
-# RUN: grep -A 2 TEST0 %t > %t2
-# RUN: grep ".set a, 0" %t2
+# CHECK: TEST0:
+# CHECK: a = 0
+# CHECK-NOT: .no_dead_strip a
 TEST0:  
         .set a, 0
-        
\ No newline at end of file
+        
+# CHECK: TEST1:
+# CHECK: a = 0
+# CHECK-NOT: .no_dead_strip a
+TEST1:  
+        .equ a, 0
+