5 use B::Hooks::EndOfScope::WithFallback;
7 plan skip_all => 'Skipping fallback test in XS mode'
8 if B::Hooks::EndOfScope::WithFallback::__HAS_VM;
10 pass ('Expecting a regular exit, no segfaults');
12 # because of the immediate _exit() we need to output the
17 $ENV{B_HOOKS_EOS_PP_ON_DIE_EXITCODE} = 0;
19 # move STDERR to STDOUT to not flood the diag with crap
25 on_scope_end { die 'bar' };