YouCompleteMe/cpp/llvm/test/Linker/module-flags-5-a.ll

10 lines
258 B
LLVM
Raw Normal View History

2012-07-05 20:51:06 -04:00
; RUN: not llvm-link %s %p/module-flags-5-b.ll -S -o - |& 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 }