Chandler Carruth | 49589f0 | 2012-07-02 18:37:59 +0000 | [diff] [blame] | 1 | ; RUN: not llvm-link %s %p/module-flags-5-b.ll -S -o - 2>&1 | FileCheck %s |
Bill Wendling | d34cb1e | 2012-02-11 11:38:06 +0000 | [diff] [blame] | 2 | |
| 3 | ; Test the 'override' error. |
| 4 | |
Bill Wendling | c54066a | 2012-02-14 09:29:21 +0000 | [diff] [blame] | 5 | ; CHECK: linking module flags 'foo': IDs have conflicting override values |
Bill Wendling | d34cb1e | 2012-02-11 11:38:06 +0000 | [diff] [blame] | 6 | |
| 7 | !0 = metadata !{ i32 4, metadata !"foo", i32 927 } |
| 8 | |
| 9 | !llvm.module.flags = !{ !0 } |