diff options
Diffstat (limited to 'test/MC/AsmParser/macro-err1.s')
-rw-r--r-- | test/MC/AsmParser/macro-err1.s | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/MC/AsmParser/macro-err1.s b/test/MC/AsmParser/macro-err1.s new file mode 100644 index 0000000..924deb0 --- /dev/null +++ b/test/MC/AsmParser/macro-err1.s @@ -0,0 +1,10 @@ +// RUN: not llvm-mc -triple x86_64-unknown-unknown %s 2> %t +// RUN: FileCheck < %t %s + +.macro foo bar + .long \bar +.endm + +foo 42, 42 + +// CHECK: Too many arguments |