19 lines · plain
1; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s2 3; CHECK: CleanupReturnInst needs to be provided a CleanupPad4; CHECK-NEXT: cleanupret from undef unwind label %bb25; CHECK-NEXT: token undef6; CHECK: Parent pad must be catchpad/cleanuppad/catchswitch7; CHECK-NEXT: cleanupret from undef unwind label %bb28 9define void @test() personality ptr undef {10 br label %bb111 12bb1:13 cleanupret from undef unwind label %bb214 15bb2:16 %pad = cleanuppad within none []17 cleanupret from %pad unwind to caller18}19