summaryrefslogtreecommitdiffstats
path: root/testsuite/parseko/maxactive03.stp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/parseko/maxactive03.stp')
-rwxr-xr-xtestsuite/parseko/maxactive03.stp9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/parseko/maxactive03.stp b/testsuite/parseko/maxactive03.stp
new file mode 100755
index 00000000..e61cce7c
--- /dev/null
+++ b/testsuite/parseko/maxactive03.stp
@@ -0,0 +1,9 @@
+#!./stap -p1
+
+# maxactive with a non-number argument
+
+function four() { return 4 }
+
+probe kernel.function("*").return.maxactive(four())
+{
+}