1# RUN: not llvm-mc -triple i386-unknown-unknown < %s 2>&1 | FileCheck %s 2 3add $1\@, %eax 4# CHECK: :[[@LINE-1]]:8: error: unexpected token in argument list 5 6.macro A @ 7 mov %eax, %eax 8.endm 9# CHECK: :[[@LINE-3]]:10: error: expected identifier in '.macro' directive 10 11.rept 2 12 addi $8, $8, \@ 13.endr 14# CHECK: error: unknown token in expression 15# CHECK: :[[@LINE-4]]:1: note: while in macro instantiation 16# CHECK-NEXT: .rept 2 17 18.rep 3 19 addi $9, $9, \@ 20.endr 21# CHECK: error: unknown token in expression 22# CHECK: :[[@LINE-4]]:1: note: while in macro instantiation 23# CHECK-NEXT: .rep 3 24