summaryrefslogtreecommitdiff
path: root/tests/examplefiles
diff options
context:
space:
mode:
authorRob Hoelz <rob@hoelz.ro>2013-03-19 21:51:38 +0100
committerRob Hoelz <rob@hoelz.ro>2013-03-19 21:51:38 +0100
commit6d107254538abcc737793f0ce923c43681a42235 (patch)
treecd7fd595e1f40006c9ed2d4709d92d0542c5ac0b /tests/examplefiles
parente6b70e5e44f75ffd4ce95c2c530381bf932eabda (diff)
downloadpygments-6d107254538abcc737793f0ce923c43681a42235.tar.gz
Add some more corner cases to test.p6 for testing
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) { ... }