Skip to content

Commit

Permalink
[t/spec] test for RT #72960, Null PMC access when doing [].WHAT.say
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.pugscode.org/pugs@30224 c213334d-75ef-0310-aa23-eaa082d1ae64
  • Loading branch information
moritz committed Mar 28, 2010
1 parent 0b22fe8 commit 519066c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 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 2;
plan 3;

# this used to segfault in rakudo
is_run(
Expand All @@ -18,5 +18,11 @@ is_run(
'Can say $!.WHAT in a CATCH block',
);

is_run(
'[].WHAT.say',
{ status => 0, out => "Array()\n"},
'Can [].WHAT.say',
);



0 comments on commit 519066c

Please sign in to comment.