summaryrefslogtreecommitdiff
path: root/t/op/gv.t
diff options
context:
space:
mode:
Diffstat (limited to 't/op/gv.t')
-rwxr-xr-xt/op/gv.t12
1 files changed, 11 insertions, 1 deletions
diff --git a/t/op/gv.t b/t/op/gv.t
index df4984e80c..10d84ee0f6 100755
--- a/t/op/gv.t
+++ b/t/op/gv.t
@@ -4,7 +4,7 @@
# various typeglob tests
#
-print "1..29\n";
+print "1..30\n";
# type coersion on assignment
$foo = 'foo';
@@ -121,3 +121,13 @@ print {*x{FILEHANDLE}} "ok 23\n";
++$test; &{$a};
}
+# does pp_readline() handle glob-ness correctly?
+
+{
+ my $g = *foo;
+ $g = <DATA>;
+ print $g;
+}
+
+__END__
+ok 30