Do not upgrade SVs into utf8 just because they participate
[p5sagit/p5-mst-13.2.git] / t / pragma / warn / 8signal
CommitLineData
4438c4b7 1Check interaction of __WARN__, __DIE__ & lexical Warnings
2
3TODO
4
5__END__
6# 8signal
0da1743c 7BEGIN { $| = 1; $SIG{__WARN__} = sub { print "WARN -- @_" } }
4438c4b7 8BEGIN { $SIG{__DIE__} = sub { print "DIE -- @_" } }
a4f5cc89 91 if 1 EQ 2 ;
10use warnings qw(deprecated) ;
111 if 1 EQ 2 ;
12use warnings FATAL => qw(deprecated) ;
131 if 1 EQ 2 ;
4438c4b7 14print "The End.\n" ;
15EXPECT
a4f5cc89 16WARN -- Use of EQ is deprecated at - line 6.
17DIE -- Use of EQ is deprecated at - line 8.
18Use of EQ is deprecated at - line 8.