16 lines · plain
1; RUN: split-file %s %t2; RUN: not llvm-as < %t/extractvalue.ll 2>&1 | FileCheck %s --check-prefix=EXTRACTVALUE3; RUN: not llvm-as < %t/insertvalue.ll 2>&1 | FileCheck %s --check-prefix=INSERTVALUE4 5;--- extractvalue.ll6define i32 @extractvalue() {7; EXTRACTVALUE: error: extractvalue constexprs are no longer supported8 ret i32 extractvalue ({i32} {i32 3}, 0)9}10 11;--- insertvalue.ll12define {i32} @insertvalue() {13; INSERTVALUE: error: insertvalue constexprs are no longer supported14 ret {i32} insertvalue ({i32} poison, i32 3, 0)15}16