2 ; RUN: llvm-as -o %t1.bc %s
3 ; RUN: llvm-as -o %t2.bc %S/Inputs/irmover-warning.ll
5 ; RUN: llvm-ar rcs %t.a %t2.bc
6 ; RUN: ld.lld %t1.bc %t.a -o %t 2>&1 | FileCheck %s
8 ; CHECK: warning: linking module flags 'foo': IDs have conflicting values
9 ; CHECK-SAME: irmover-warning.ll.tmp.a(irmover-warning.ll.tmp2.bc at {{[0-9]+}})
11 target triple = "x86_64-unknown-linux-gnu"
12 target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
21 !0 = !{ i32 2, !"foo", i32 1 }
23 !llvm.module.flags = !{ !0 }