YouCompleteMe/cpp/llvm/test/Linker/module-flags-6-a.ll
2012-07-05 17:51:06 -07:00

10 lines
255 B
LLVM

; 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 }