[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / test / MC / AArch64 / ldr-pseudo-obj-errors.s
blobb486abe27e3e41f2a445682265e04a2b35935415
1 //RUN: not llvm-mc -triple=aarch64-linux -filetype=obj %s -o /dev/null 2> %t2
2 //RUN: cat %t2 | FileCheck %s
4 //These tests look for errors that should be reported for invalid object layout
5 //with the ldr pseudo. They are tested separately from parse errors because they
6 //only trigger when the file has successfully parsed and the object file is about
7 //to be written out.
9 .text
10 foo:
11 // CHECK: :[[@LINE+1]]:{{[0-9]+}}: error: fixup value out of range
12 ldr x0, =0x10111
13 .space 0xdeadb0