Files
clang-p2996/llvm/test/MC/AsmParser/equ.s
Fangrui Song 3d473ae72e [MC] Remove unneeded "in '.xxx' directive" from diagnostics
The directive name is not useful because the next line replicates the error line
which includes the directive.
2021-05-04 13:30:29 -07:00

11 lines
251 B
ArmAsm

// RUN: not llvm-mc -n -triple i386-unknown-unknown %s 2> %t
// RUN: FileCheck < %t %s
.equ a, 0
.set a, 1
.equ a, 2
// CHECK: :[[#@LINE+1]]:11: error: redefinition of 'a'
.equiv a, 3
// CHECK: :[[#@LINE+1]]:12: error: missing expression
.set b, ""