blob: 8d625cd8c9de8af36116ebf4e0019a6f04385521 [file] [log] [blame]
Chandler Carruth49589f02012-07-02 18:37:59 +00001; RUN: not llvm-link %s %p/module-flags-5-b.ll -S -o - 2>&1 | FileCheck %s
Bill Wendlingd34cb1e2012-02-11 11:38:06 +00002
3; Test the 'override' error.
4
Bill Wendlingc54066a2012-02-14 09:29:21 +00005; CHECK: linking module flags 'foo': IDs have conflicting override values
Bill Wendlingd34cb1e2012-02-11 11:38:06 +00006
7!0 = metadata !{ i32 4, metadata !"foo", i32 927 }
8
9!llvm.module.flags = !{ !0 }