This is an automatically generated mail to inform you that tests are now available in t/spec/S04-exceptions/fail.t
commit 36252e8d1ee13f5a26aff7620bb65035f9d99a4e Author: kyle <k...@c213334d-75ef-0310-aa23-eaa082d1ae64> Date: Thu Aug 13 03:19:04 2009 +0000 [t/spec] Test for RT #64990 git-svn-id: http://svn.pugscode.org/p...@27974 c213334d-75ef-0310-aa23-eaa082d1ae64 diff --git a/t/spec/S04-exceptions/fail.t b/t/spec/S04-exceptions/fail.t index d9dcd1c..b91d860 100644 --- a/t/spec/S04-exceptions/fail.t +++ b/t/spec/S04-exceptions/fail.t @@ -2,7 +2,7 @@ use v6; use Test; -plan 4; +plan 5; # L<S04/Exceptions/The fail function> @@ -31,4 +31,11 @@ plan 4; is $was_after_sub, 0, "fail() causes our try{} to die"; } +# RT #64990 +{ + our Int sub rt64990 { return fail() } + #?rakudo skip 'RT #64990' + ok rt64990() ~~ Failure, 'sub typed Int can return Failure'; +} + # vim: ft=perl6