Skip to content

Commit

Permalink
Tests for RT#129160 (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
LemonBoy authored and zoffixznet committed Sep 5, 2016
1 parent 350d02b commit 09c8d3f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion S12-enums/misc.t
Expand Up @@ -2,7 +2,7 @@ use v6;

use Test;

plan 17;
plan 18;

{
class EnumClass { enum C <a b c> }
Expand Down Expand Up @@ -72,4 +72,10 @@ plan 17;
is (+A,+B,+C), (0,1,2), "and they get the right values";
}

# RT#129160
{
enum RT<R T>;
ok R.ACCEPTS(RT), 'enum member ACCEPTS the enum type object';
}

# vim: ft=perl6

0 comments on commit 09c8d3f

Please sign in to comment.