summaryrefslogtreecommitdiff
path: root/tests/examplefiles
diff options
context:
space:
mode:
Diffstat (limited to 'tests/examplefiles')
-rw-r--r--tests/examplefiles/test.p66
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/examplefiles/test.p6 b/tests/examplefiles/test.p6
index a0b963bb..a37274a2 100644
--- a/tests/examplefiles/test.p6
+++ b/tests/examplefiles/test.p6
@@ -227,3 +227,9 @@ my $re5 = rx«something | something-else»;
my $M := %*COMPILING<%?OPTIONS><M>;
say $M;
+
+sub regex-name { ... }
+my $pair = role-name => 'foo';
+$pair = rolesque => 'foo';
+
+my sub something(Str:D $value) { ... }