]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/ELF/lto/irmover-error.ll
Vendor import of lld trunk r338150:
[FreeBSD/FreeBSD.git] / test / ELF / lto / irmover-error.ll
1 ; RUN: llvm-as -o %t1.bc %s
2 ; RUN: llvm-as -o %t2.bc %S/Inputs/irmover-error.ll
3 ; RUN: not ld.lld %t1.bc %t2.bc -o %t 2>&1 | FileCheck %s
4
5 ; CHECK: linking module flags 'foo': IDs have conflicting values
6
7 target triple = "x86_64-unknown-linux-gnu"
8 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
9
10 !0 = !{ i32 1, !"foo", i32 1 }
11
12 !llvm.module.flags = !{ !0 }