llvm-for-llvmta/test/Linker/module-flags-6-a.ll

10 lines
288 B
LLVM

; 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 in '{{.*}}module-flags-6-b.ll' and 'llvm-link'
!0 = !{ i32 1, !"foo", i32 37 }
!llvm.module.flags = !{ !0 }