1 ; RUN: split-file %s %t
2 ; RUN: llvm-link %t/main.ll %t/8.ll
3 ; RUN: not llvm-link %t/main.ll %t/16.ll 2>&1 | FileCheck --check-prefix=CHECK-16 %s
6 ; NONE: error: linking module flags 'override-stack-alignment': IDs have conflicting values
7 ; CHECK-16: error: linking module flags 'override-stack-alignment': IDs have conflicting values
8 !llvm.module.flags = !{!0}
9 !0 = !{i32 1, !"override-stack-alignment", i32 8}
11 !llvm.module.flags = !{!0}
12 !0 = !{i32 1, !"override-stack-alignment", i32 8}
14 !llvm.module.flags = !{!0}
15 !0 = !{i32 1, !"override-stack-alignment", i32 16}