brintos

brintos / llvm-project-archived public Read only

0
0
Text · 583 B · 0859cab Raw
24 lines · plain
1# RUN: not llvm-mc -triple i386-unknown-unknown < %s 2>&1 | FileCheck %s2 3add  $1\@, %eax4# CHECK: :[[@LINE-1]]:8: error: unexpected token in argument list5 6.macro A @7  mov  %eax, %eax8.endm9# CHECK: :[[@LINE-3]]:10: error: expected identifier in '.macro' directive10 11.rept 212  addi $8, $8, \@13.endr14# CHECK: error: unknown token in expression15# CHECK: :[[@LINE-4]]:1: note: while in macro instantiation16# CHECK-NEXT: .rept 217 18.rep 319  addi $9, $9, \@20.endr21# CHECK: error: unknown token in expression22# CHECK: :[[@LINE-4]]:1: note: while in macro instantiation23# CHECK-NEXT: .rep 324