mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-27 14:45:50 +00:00
aa7a2f2ba3
Patch extracted from a larger one by the PaX team. I added the testcases and tightened error handling a bit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158523 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
170 B
ArmAsm
11 lines
170 B
ArmAsm
// 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
|