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