1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 12:33:33 +02:00
llvm-mirror/test/MC/ELF/bad-expr2.s
Rafael Espindola 8f3fffd305 Make this test a bit more strict. NFC.
llvm-svn: 305855
2017-06-20 21:11:58 +00:00

12 lines
320 B
ArmAsm

// RUN: not llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o /dev/null \
// RUN: 2>&1 | FileCheck %s
// CHECK: [[@LINE+2]]:{{[0-9]+}}: error: No relocation available to represent this relative expression
// CHECK-NEXT: call foo - bar
call foo - bar
.section .foo
foo:
.section .bar
bar: