aboutsummaryrefslogtreecommitdiff
path: root/test/ELF/lto/irmover-error.ll
blob: 8b9836d23ca416257c73c4cb85e8cf31319bd401 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
; RUN: llvm-as -o %t1.bc %s
; RUN: llvm-as -o %t2.bc %S/Inputs/irmover-error.ll
; RUN: not ld.lld -m elf_x86_64 %t1.bc %t2.bc -o %t 2>&1 | FileCheck %s

; CHECK: linking module flags 'foo': IDs have conflicting values

target triple = "x86_64-unknown-linux-gnu"
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"

!0 = !{ i32 1, !"foo", i32 1 }

!llvm.module.flags = !{ !0 }