Skip to content

Commit

Permalink
Add test for RT #76946
Browse files Browse the repository at this point in the history
  • Loading branch information
coke committed Oct 21, 2012
1 parent 970a119 commit 33c0502
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion integration/weird-errors.t
Expand Up @@ -3,7 +3,7 @@ use Test;
BEGIN { @*INC.push: 't/spec/packages' };
use Test::Util;

plan 6;
plan 7;

# this used to segfault in rakudo
is_run(
Expand Down Expand Up @@ -38,3 +38,6 @@ eval_dies_ok 'time(1, 2, 3)', 'time() with arguments dies';
#?niecza todo
lives_ok { 1.^methods>>.sort }, 'can use >>.method on result of introspection';

# RT #76946
lives_ok { Any .= (); CATCH { when X::AdHoc {1} } }, 'Typed, non-internal exception';

0 comments on commit 33c0502

Please sign in to comment.