summaryrefslogtreecommitdiffstats
path: root/testsuite/parseok/two.stp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/parseok/two.stp')
-rwxr-xr-xtestsuite/parseok/two.stp12
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/parseok/two.stp b/testsuite/parseok/two.stp
new file mode 100755
index 00000000..3776633b
--- /dev/null
+++ b/testsuite/parseok/two.stp
@@ -0,0 +1,12 @@
+#! stap
+
+probe kernel:systemcall("foo")
+{
+ array[idx] << value;
+ if (global > 5) { global -- } else ;
+}
+
+probe systemtap:end
+{
+ function("value", 4+8);
+}