summaryrefslogtreecommitdiffstats
path: root/testsuite/semko/two.stp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/semko/two.stp')
-rwxr-xr-xtestsuite/semko/two.stp8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/semko/two.stp b/testsuite/semko/two.stp
new file mode 100755
index 00000000..39b77f6a
--- /dev/null
+++ b/testsuite/semko/two.stp
@@ -0,0 +1,8 @@
+#! semtest
+
+function zoo (p) { p << 5; return 0 } # passing stats as function arg
+
+probe foo {
+ bar = 2 + "string"; # mixing integer+string arithmetic
+ zoo (car)
+}