summaryrefslogtreecommitdiff
path: root/test/MC/AsmParser/directive_symbol_attrs.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/AsmParser/directive_symbol_attrs.s')
-rw-r--r--test/MC/AsmParser/directive_symbol_attrs.s8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/MC/AsmParser/directive_symbol_attrs.s b/test/MC/AsmParser/directive_symbol_attrs.s
index 186e96739508..99ef3b8e13f6 100644
--- a/test/MC/AsmParser/directive_symbol_attrs.s
+++ b/test/MC/AsmParser/directive_symbol_attrs.s
@@ -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