1; REQUIRES: x86 2; RUN: llvm-mc %p/Inputs/shared.s -o %t386.o -filetype=obj -triple=i386-pc-linux 3; RUN: ld.lld %t386.o -o %ti386.so -shared 4; RUN: llvm-as %s -o %tx64.o 5; RUN: not ld.lld %ti386.so %tx64.o -o %t 2>&1 | FileCheck %s 6 7target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" 8target triple = "x86_64-unknown-linux-gnu" 9 10; CHECK: {{.*}}x64.o is incompatible with {{.*}}i386.so 11