summaryrefslogtreecommitdiff
path: root/tests/examplefiles/example.pony
diff options
context:
space:
mode:
authorAnteru <bitbucket@ca.sh13.net>2019-05-21 16:32:04 +0000
committerAnteru <bitbucket@ca.sh13.net>2019-05-21 16:32:04 +0000
commitfa473ff605f5192bfbff5ce87a8028c0e984fc99 (patch)
tree67bf0052a79b808243723d89281f86225cf09c56 /tests/examplefiles/example.pony
parent9a4f6ef2b7f14e7f59de9bda37facfdcb1ad2e44 (diff)
parent289920a1b11a9445830b4d64f6b5fcbe68966f23 (diff)
downloadpygments-git-fa473ff605f5192bfbff5ce87a8028c0e984fc99.tar.gz
Merged in lucatorella/pygments-main (pull request #813)
Add support for @import keyword in Objective-C
Diffstat (limited to 'tests/examplefiles/example.pony')
-rw-r--r--tests/examplefiles/example.pony18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/examplefiles/example.pony b/tests/examplefiles/example.pony
new file mode 100644
index 00000000..654f2376
--- /dev/null
+++ b/tests/examplefiles/example.pony
@@ -0,0 +1,18 @@
+use "somepkg"
+
+/*
+ /* Nested */
+*/
+
+class trn Foo[A: Stringable ref] is Stringable
+ let _x = "\""
+
+ fun val dofoo() =>
+ """
+ DocString
+ """
+ (U64(2), "foo")._2
+
+actor Main
+ new create(env: Env) =>
+ env.out.print("Hello world")