1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 00:12:50 +01:00
llvm-mirror/test/MC/AsmParser/paren.s
Roman Divacky 3277e18a42 Add support for parsing [expr].
This is submitted by Joerg Sonnenberger and fixes his PR8685.

llvm-svn: 125595
2011-02-15 20:43:39 +00:00

9 lines
233 B
ArmAsm

// 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]