llvm-6502/test/MC/ELF/bracket.s

9 lines
233 B
ArmAsm
Raw Normal View History

// RUN: not llvm-mc -triple i386-unknown-unknown %s 2> %t1 > %t2
// RUN: FileCheck < %t1 %s
// CHECK: error: expected ']' in brackets expression
.size x, [.-x)
// CHECK: error: expected ')' in parentheses expression
.size y, (.-y]