1 ; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
3 ; CHECK: CleanupReturnInst needs to be provided a CleanupPad
4 ; CHECK-NEXT: cleanupret from undef unwind label %bb2
5 ; CHECK-NEXT: token undef
6 ; CHECK: Parent pad must be catchpad/cleanuppad/catchswitch
7 ; CHECK-NEXT: cleanupret from undef unwind label %bb2
9 define void @test() personality ptr undef {
13 cleanupret from undef unwind label %bb2
16 %pad = cleanuppad within none []
17 cleanupret from %pad unwind to caller