aboutsummaryrefslogtreecommitdiff
path: root/test/Linker/module-flags-5-a.ll
blob: 8d625cd8c9de8af36116ebf4e0019a6f04385521 (plain)
1
2
3
4
5
6
7
8
9
; RUN: not llvm-link %s %p/module-flags-5-b.ll -S -o - 2>&1 | FileCheck %s

; Test the 'override' error.

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

!0 = metadata !{ i32 4, metadata !"foo", i32 927 }

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