1 ; RUN: split-file %s %t
2 ; RUN: not llvm-as < %t/extractvalue.ll 2>&1 | FileCheck %s --check-prefix=EXTRACTVALUE
3 ; RUN: not llvm-as < %t/insertvalue.ll 2>&1 | FileCheck %s --check-prefix=INSERTVALUE
6 define i32 @extractvalue() {
7 ; EXTRACTVALUE: error: extractvalue constexprs are no longer supported
8 ret i32 extractvalue ({i32} {i32 3}, 0)
12 define {i32} @insertvalue() {
13 ; INSERTVALUE: error: insertvalue constexprs are no longer supported
14 ret {i32} insertvalue ({i32} poison, i32 3, 0)