1 ; RUN: not llvm-link %s %p/module-flags-7-b.ll -S -o - 2>&1 | FileCheck %s
3 ; Test module flags error messages.
5 ; CHECK: linking module flags 'foo': IDs have conflicting behaviors in '{{.*}}module-flags-7-b.ll' and 'llvm-link'
7 !0 = !{ i32 1, !"foo", i32 37 }
9 !llvm.module.flags = !{ !0 }