Permalink
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (10 sloc) 255 Bytes
use v6;
use Test;
plan 1;
# L<S06/"Parameter traits"/"=item is readonly">
# should be moved with other subroutine tests?
{
my $a = 3;
ok (try { VAR($a).defined }), ".VAR on a plain normal initialized variable returns true";
}
# vim: ft=perl6