use v6;
use Test;

plan 1;

#L<S06/Placeholder variables/>

sub one_placeholder {
    is $:bla,  2, "A single named placeholder works";
}

one_placeholder(:bla(2));

# vim: syn=perl6

use v6;
use Test;

plan 3;

#L<S06/Placeholder variables/>

sub one_placeholder {
    is $:bla,  2, "A single named placeholder works";
}

one_placeholder(:bla(2));

sub two_placeholders {
    is $:b, 1, "Named dispatch isn't broken for placeholders";
    is $:a, 2, "Named dispatch isn't broken for placeholders";
}

two_placeholders(:a(2), :b(1));

# vim: syn=perl6

Add another named placeholder test.
Add another named placeholder test.


git-svn-id: 53605643c415f7495558be95614cf14171f1db78@20382 c213334d-75ef-0310-aa23-eaa082d1ae64
