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.stan6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/examplefiles/example.stan b/tests/examplefiles/example.stan
index e86ae42f..5723403c 100644
--- a/tests/examplefiles/example.stan
+++ b/tests/examplefiles/example.stan
@@ -16,6 +16,7 @@ data {
matrix[3,3] qux;
simplex[3] quux;
ordered[3] corge;
+ positive_ordered[3] wibble;
corr_matrix[3] grault;
cov_matrix[3] garply;
@@ -73,6 +74,11 @@ model {
// normal_log as a function
lp__ <- lp__ + normal_log(plugh, 0, 1);
+ // print statement and string literal
+ print("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_~@#$%^&*`'-+={}[].,;: ");
+ print("Hello, world!");
+ print("");
+
}
generated quantities {
real bar1;