diff options
author | Father Chrysostomos <sprout@cpan.org> | 2013-06-15 20:29:16 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2013-07-25 23:47:58 -0700 |
commit | deea21e77444ba0d84a6ebc9149baf3ed1e29c80 (patch) | |
tree | acac7e1b9052cb489ac730829e7ffd4da2007ab5 /t/op/ref.t | |
parent | b784b94cf4399cca83256ba0c846d1c66cc194e5 (diff) | |
download | perl-deea21e77444ba0d84a6ebc9149baf3ed1e29c80.tar.gz |
To-do test for #109746
Diffstat (limited to 't/op/ref.t')
-rw-r--r-- | t/op/ref.t | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/t/op/ref.t b/t/op/ref.t index a9be6ea2cd..acd278ea49 100644 --- a/t/op/ref.t +++ b/t/op/ref.t @@ -8,7 +8,7 @@ BEGIN { use strict qw(refs subs); -plan(234); +plan(235); # Test glob operations. @@ -808,6 +808,13 @@ for ("4eounthouonth") { like $@, qr/^Modification of a read-only/, 'refgen does not allow assignment to value aliased to literal string'; } +{ + local $::TODO = ' ' + if $Config::Config{useithreads} && $Config::Config{mad}; + my $aref = \123; + is \$$aref, $aref, + '[perl #109746] referential identity of \literal under threads+mad' +} # Bit of a hack to make test.pl happy. There are 3 more tests after it leaves. $test = curr_test(); |