summaryrefslogtreecommitdiffstats
path: root/testsuite/transok
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2008-04-29 22:57:33 -0400
committerFrank Ch. Eigler <fche@elastic.org>2008-04-29 22:57:33 -0400
commitba6f838d2471c57fc3d8fc6d325766ff95ce108a (patch)
treedeb1d028b85d1a68b06c06eec4700367cfe793a3 /testsuite/transok
parent8c392b1a21fbe01e785c20df6bd7a254f8e517d0 (diff)
downloadsystemtap-steved-ba6f838d2471c57fc3d8fc6d325766ff95ce108a.tar.gz
systemtap-steved-ba6f838d2471c57fc3d8fc6d325766ff95ce108a.tar.xz
systemtap-steved-ba6f838d2471c57fc3d8fc6d325766ff95ce108a.zip
PR6466: broad side-effect free statement elision
Diffstat (limited to 'testsuite/transok')
-rwxr-xr-xtestsuite/transok/eight.stp3
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuite/transok/eight.stp b/testsuite/transok/eight.stp
index 6723b993..9198536e 100755
--- a/testsuite/transok/eight.stp
+++ b/testsuite/transok/eight.stp
@@ -2,10 +2,11 @@
global foo
global baz
+global zoo
function bar()
{
- return foo["hello"]
+ return foo["hello"]+(zoo++)
}
probe begin