xref: /aosp_15_r20/external/llvm/test/Bitcode/invalid.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN:  not llvm-dis < %s.bc 2>&1 | FileCheck %s
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Worker; CHECK: llvm-dis{{(\.EXE|\.exe)?}}: error: Unknown attribute kind (63)
4*9880d681SAndroid Build Coastguard Worker
5*9880d681SAndroid Build Coastguard Worker; invalid.ll.bc has an invalid attribute number.
6*9880d681SAndroid Build Coastguard Worker; The test checks that LLVM reports the error and doesn't access freed memory
7*9880d681SAndroid Build Coastguard Worker; in doing so.
8