diff options
Diffstat (limited to 'test/MC/PowerPC/ppc64-localentry-error1.s')
-rw-r--r-- | test/MC/PowerPC/ppc64-localentry-error1.s | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/MC/PowerPC/ppc64-localentry-error1.s b/test/MC/PowerPC/ppc64-localentry-error1.s new file mode 100644 index 0000000..e47640f --- /dev/null +++ b/test/MC/PowerPC/ppc64-localentry-error1.s @@ -0,0 +1,11 @@ + +# 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 + +sym: + .localentry sym, 123 + +# CHECK: LLVM ERROR: .localentry expression cannot be encoded. + |