This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
RT #75468: readline ignores <> overloading when arg is tied
[perl5.git] / t / comp / form_scope.t
CommitLineData
421f30ed
Z
1#!./perl
2#
3# Tests bug #22977. Test case from Dave Mitchell.
4
5print "1..2\n";
6
7sub f ($);
8sub f ($) {
9my $test = $_[0];
10write;
11format STDOUT =
12ok @<<<<<<<
13$test
14.
15}
16
17f(1);
18f(2);