This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Update experimental to CPAN version 0.013
[perl5.git] / cpan / experimental / t / basic.t
index 239225b..ee03a02 100644 (file)
@@ -50,5 +50,14 @@ if ($] >= 5.018) {
 END
 }
 
+if ($] >= 5.021005) {
+       is (eval <<'END', 1, 'ref aliasing compiles') or diag $@;
+       use experimental 'refaliasing';
+       \@a = \@b;
+       is(\@a, \@b, '@a and @b are the same after \@a=\@b');
+       1;
+END
+}
+
 done_testing;