9 $EXPECTED_WARNING = '(no warning expected)';
14 sub q1 ($) { $_[0] + 1 }
16 sub q3 { join "--", @_ }
18 $SIG{__WARN__} = \&handle_warnings;
32 # Let's see if the prototype is actually honored
35 print (($r == 6) ? '' : 'not ', "ok 4\n");
39 $RES = 'not ok' unless $_[0] eq $EXPECTED_WARNING;