]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/ELF/lto/mix-platforms2.ll
Vendor import of lld trunk r338150:
[FreeBSD/FreeBSD.git] / test / ELF / lto / mix-platforms2.ll
1 ; REQUIRES: x86
2 ; RUN: llvm-as %s -o %tx64.o
3 ; RUN: llvm-as %S/Inputs/i386-empty.ll -o %ti386.o
4 ; RUN: not ld.lld %ti386.o %tx64.o -o %t.out 2>&1 | FileCheck %s
5
6 ; CHECK: {{.*}}x64.o is incompatible with {{.*}}i386.o
7
8 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
9 target triple = "x86_64-unknown-linux-gnu"