This is an automatically generated mail to inform you that tests are now 
available in t/spec/S02-builtin_data_types/hash.t

commit 4a26ee85a2c45b95b26a787ff95cfb2a4071f35e
Author: kyle <k...@c213334d-75ef-0310-aa23-eaa082d1ae64>
Date:   Mon Dec 28 22:34:05 2009 +0000

    [t/spec] Test for RT 71022: infinite loop
    
    git-svn-id: http://svn.pugscode.org/p...@29414 
c213334d-75ef-0310-aa23-eaa082d1ae64

diff --git a/t/spec/S02-builtin_data_types/hash.t 
b/t/spec/S02-builtin_data_types/hash.t
index 5e49574..0c5089f 100644
--- a/t/spec/S02-builtin_data_types/hash.t
+++ b/t/spec/S02-builtin_data_types/hash.t
@@ -183,6 +183,16 @@ ok( $!, "doesn't really make sense, but shouldn't 
segfault, either ($!)");
 # test for RT #62730
 lives_ok { Hash.new("a" => "b") }, 'Hash.new($pair) lives';
 
+# RT #71022
+#?rakudo skip 'RT 71022: infinite loop (noauto)'
+{
+    my %rt71022;
+    %rt71022<bughunt> = %rt71022<bughunt>;
+    ok( ! defined( %rt71022<bughunt> ),
+        'non-existent hash element assigned to itself is not defined, not 
segfault' );
+}
+
+# This test breaks all hash access after it in Rakudo, so keep it last.
 # RT #71064
 {
     class RT71064 {

Reply via email to