This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Re: Bytecode? Back into service.
[perl5.git] / t / op / readline.t
1 #!./perl
2
3 BEGIN {
4     chdir 't';
5     @INC = '../lib';
6     require './test.pl';
7 }
8
9 plan tests => 1;
10
11 eval { for (\2) { $_ = <FH> } };
12 like($@, 'Modification of a read-only value attempted', '[perl #19566]');
13