summaryrefslogtreecommitdiff
path: root/tests/examplefiles/example.stan
diff options
context:
space:
mode:
Diffstat (limited to 'tests/examplefiles/example.stan')
-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;