diff options
author | Anteru <bitbucket@ca.sh13.net> | 2019-05-21 16:32:04 +0000 |
---|---|---|
committer | Anteru <bitbucket@ca.sh13.net> | 2019-05-21 16:32:04 +0000 |
commit | 9c84bc6450663888e243268621dcf71eab18ed11 (patch) | |
tree | 15231faf42954c633413b5c06369da6b05949ed7 /tests/examplefiles/example.pony | |
parent | c0db1e260ea7e399a1f34bc9966914298e1b6b17 (diff) | |
parent | 8202e648945351366bd0c465d72953fae40f4783 (diff) | |
download | pygments-9c84bc6450663888e243268621dcf71eab18ed11.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.pony | 18 |
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") |