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