xref: /llvm-project/lld/test/ELF/ppc64-undefined.s (revision 53b59fdc52bf6c8bf15ce7c146d2cebe338f34a7)
1# REQUIRES: ppc
2
3# RUN: llvm-mc -filetype=obj -triple=powerpc64le %s -o %t.o
4# RUN: not ld.lld %t.o -o /dev/null 2>&1 | FileCheck %s --check-prefix=ERR
5
6# ERR: error: undefined symbol: undef
7
8.global _start
9_start:
10  bl undef
11  nop
12