diff options
Diffstat (limited to 'testsuite/semko/twentyseven.stp')
-rwxr-xr-x | testsuite/semko/twentyseven.stp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/testsuite/semko/twentyseven.stp b/testsuite/semko/twentyseven.stp new file mode 100755 index 00000000..a678bcd2 --- /dev/null +++ b/testsuite/semko/twentyseven.stp @@ -0,0 +1,17 @@ +#! stap -p2 + +# need one of these for each prohibited statistic operation + +global log_hist(x, 10) + +function foo(bar) +{ + bar <<< x +} + +probe end +{ + x <<< 10 + foo(x) +} + |