summaryrefslogtreecommitdiff
path: root/t/comp/form_scope.t
blob: 3ef891e13f34270848e13abd37241040ced0a092 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!./perl
#
# Tests bug #22977.  Test case from Dave Mitchell.

print "1..2\n";

sub f ($);
sub f ($) {
my $test = $_[0];
write;
format STDOUT =
ok @<<<<<<<
$test
.
}

f(1);
f(2);