Skip to content

Commit

Permalink
[t/spec] Test for RT 71460: Null PMC access
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.pugscode.org/pugs@29409 c213334d-75ef-0310-aa23-eaa082d1ae64
  • Loading branch information
kyle committed Dec 28, 2009
1 parent eac94f3 commit 5c8c4ab
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion S12-enums/basic.t
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use v6;
use Test;
plan 32;
plan *;

# Very basic enum tests

Expand Down Expand Up @@ -99,4 +99,12 @@ dies_ok({ my Color $c3 = "for the fail" }, 'enum as a type enforces checks');
ok Color.pick(2) == 2, '.pick(2) on enums';
}

#?rakudo skip 'RT 71460: Null PMC access'
{
enum RT71460::Bug <rt71460 bug71460 ticket71460>;
is bug71460, 1, 'enum element of enum with double colons is in namespace';
}

done_testing;

# vim: ft=perl6

0 comments on commit 5c8c4ab

Please sign in to comment.