blob: cae5ea45642dab6660d45e3f48955f66a2cb21b5 [file] [log] [blame]
Joel Jonesa5752e12018-06-06 13:56:511# REQUIRES: x86
Rafael Espindola3c354462018-01-16 18:21:232# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
3# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %p/Inputs/undef-shared2.s -o %t2.o
4# RUN: not ld.lld %t.o %t2.o -o %t.so -shared 2>&1 | FileCheck %s
5# RUN: not ld.lld %t2.o %t.o -o %t.so -shared 2>&1 | FileCheck %s
6
7# CHECK: error: undefined symbol: foo
8
9.data
10.quad foo
11.protected foo