xref: /aosp_15_r20/external/llvm/test/Linker/module-flags-7-a.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: not llvm-link %s %p/module-flags-7-b.ll -S -o - 2>&1 | FileCheck %s
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Worker; Test module flags error messages.
4*9880d681SAndroid Build Coastguard Worker
5*9880d681SAndroid Build Coastguard Worker; CHECK: linking module flags 'foo': IDs have conflicting behaviors
6*9880d681SAndroid Build Coastguard Worker
7*9880d681SAndroid Build Coastguard Worker!0 = !{ i32 1, !"foo", i32 37 }
8*9880d681SAndroid Build Coastguard Worker
9*9880d681SAndroid Build Coastguard Worker!llvm.module.flags = !{ !0 }
10