diff options
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/MC/AsmParser/assignment.s | 7 | ||||
| -rw-r--r-- | llvm/test/MC/AsmParser/directive_set.s | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/llvm/test/MC/AsmParser/assignment.s b/llvm/test/MC/AsmParser/assignment.s new file mode 100644 index 00000000000..8e6ff34fe4b --- /dev/null +++ b/llvm/test/MC/AsmParser/assignment.s @@ -0,0 +1,7 @@ +# RUN: llvm-mc %s > %t + +# RUN: grep -A 2 TEST0 %t > %t2 +# RUN: grep "a = 0" %t2 +TEST0: + a = 0 +
\ No newline at end of file diff --git a/llvm/test/MC/AsmParser/directive_set.s b/llvm/test/MC/AsmParser/directive_set.s new file mode 100644 index 00000000000..51119a661ca --- /dev/null +++ b/llvm/test/MC/AsmParser/directive_set.s @@ -0,0 +1,7 @@ +# RUN: llvm-mc %s > %t + +# RUN: grep -A 2 TEST0 %t > %t2 +# RUN: grep ".set a, 0" %t2 +TEST0: + .set a, 0 +
\ No newline at end of file |

