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

; Test module flags error messages.

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

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

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