summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJeffrey B. Arnold <jeffrey.arnold@gmail.com>2014-06-30 23:17:26 -0400
committerJeffrey B. Arnold <jeffrey.arnold@gmail.com>2014-06-30 23:17:26 -0400
commit76f1913368ca68af86dbdc235c5531ae209ea3a3 (patch)
treeacf3ffedd4b77f2408095d26275307a4c0333a79 /tests
parent3e7a48d7395dd6f2cbac9340db1c5ca6f38d0241 (diff)
downloadpygments-76f1913368ca68af86dbdc235c5531ae209ea3a3.tar.gz
moved void to type and added example file
Diffstat (limited to 'tests')
-rw-r--r--tests/examplefiles/example.stan5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/examplefiles/example.stan b/tests/examplefiles/example.stan
index 7eb6fdfc..341089ae 100644
--- a/tests/examplefiles/example.stan
+++ b/tests/examplefiles/example.stan
@@ -5,6 +5,11 @@ It is not a real model and will not compile
*/
# also a comment
// also a comment
+functions {
+ void func1(real a) {
+ return 1 / a;
+ }
+}
data {
// valid name
int abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_abc;