summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Diener <mdiener@illinois.edu>2019-02-12 09:35:54 -0600
committerMatthias Diener <mdiener@illinois.edu>2019-02-12 09:35:54 -0600
commita3a6f24f62652d7eee55bd5fb557d631c5adf69d (patch)
tree8b0b1c7dca81d34a2e8de3923cae09bb4dd55b67
parent53a39c2b6dc9d2e7b73943c842f698ce8f60258d (diff)
downloadpygments-a3a6f24f62652d7eee55bd5fb557d631c5adf69d.tar.gz
Add test for the Charmci lexer
-rw-r--r--tests/examplefiles/Charmci.ci20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/examplefiles/Charmci.ci b/tests/examplefiles/Charmci.ci
new file mode 100644
index 00000000..2e5cd5c6
--- /dev/null
+++ b/tests/examplefiles/Charmci.ci
@@ -0,0 +1,20 @@
+module CkCallback {
+ readonly CProxy_ckcallback_group _ckcallbackgroup;
+ message CkCcsRequestMsg {
+ char data[];
+ };
+ message CkDataMsg {
+ char data[];
+ };
+
+ mainchare ckcallback_main {
+ entry ckcallback_main(CkArgMsg *m);
+ };
+ group [migratable] ckcallback_group : IrrGroup {
+ entry ckcallback_group();
+ entry void registerCcsCallback(char name[strlen(name)+1],
+ CkCallback cb);
+ entry void call(CkCallback c,CkMarshalledMessage msg);
+ entry void call(CkCallback c, int length, char data[length]);
+ };
+};