diff options
Diffstat (limited to 'test/MC/PowerPC/ppc64-localentry-error2.s')
-rw-r--r-- | test/MC/PowerPC/ppc64-localentry-error2.s | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/MC/PowerPC/ppc64-localentry-error2.s b/test/MC/PowerPC/ppc64-localentry-error2.s new file mode 100644 index 0000000..b05687f --- /dev/null +++ b/test/MC/PowerPC/ppc64-localentry-error2.s @@ -0,0 +1,12 @@ + +# RUN: not llvm-mc -triple powerpc64-unknown-unknown -filetype=obj < %s 2> %t +# RUN: FileCheck < %t %s +# RUN: not llvm-mc -triple powerpc64le-unknown-unknown -filetype=obj < %s 2> %t +# RUN: FileCheck < %t %s + + .globl remote_sym +sym: + .localentry sym, remote_sym + +# CHECK: LLVM ERROR: .localentry expression must be absolute. + |