branch: elpa/raku-mode
commit d33d36e0851291ac5018b05556f11e3ada346a42
Author: Tom Browder <tom.brow...@gmail.com>
Commit: Tom Browder <tom.brow...@gmail.com>

    add test for nqp
---
 test/test-imenu.nqp | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/test/test-imenu.nqp b/test/test-imenu.nqp
new file mode 100644
index 0000000000..307bd422b6
--- /dev/null
+++ b/test/test-imenu.nqp
@@ -0,0 +1,24 @@
+# file: test-imenu.p6
+
+# Perl 6 syntax file for testing perl6-mode with imenu support, which is 
located at:
+#
+#   https://github.com/tbrowder/perl6-mode [branch: "my-branch"]
+
+my $a;
+my @b;
+our %c;
+
+my $a-a;
+my $a'a_3-z;
+
+ sub a(){my @ze}
+ multi sub x() {}
+method d() {}
+my multi method z() {}
+multi c() {}
+
+proto xx() {}
+
+class My-class1 {}
+class My-class2{
+    class doit () {}

Reply via email to