diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2009-06-18 17:19:29 -0400 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2009-06-18 17:19:29 -0400 |
commit | ed35c8ac5bc2da83fedfb53d0c283ee8c5c77f39 (patch) | |
tree | e93912836e0d984a4ea722a483ef9bb0cdf1f4a3 /testsuite/buildok/null.stp | |
parent | 905728a036bf9d5cf0c21d684ad53882489c82c8 (diff) | |
download | systemtap-steved-ed35c8ac5bc2da83fedfb53d0c283ee8c5c77f39.tar.gz systemtap-steved-ed35c8ac5bc2da83fedfb53d0c283ee8c5c77f39.tar.xz systemtap-steved-ed35c8ac5bc2da83fedfb53d0c283ee8c5c77f39.zip |
PR10298: tweak global param initialization for NULL etc.
* translate.cxx (translate_pass): Emit module_parm stuff at the very end.
* testsuite/buildok/null.stp: New test.
Diffstat (limited to 'testsuite/buildok/null.stp')
-rwxr-xr-x | testsuite/buildok/null.stp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/buildok/null.stp b/testsuite/buildok/null.stp new file mode 100755 index 00000000..9bcaf3f6 --- /dev/null +++ b/testsuite/buildok/null.stp @@ -0,0 +1,5 @@ +#! stap -p4 + +# PR10298 +global foo = 5 +probe begin { if (foo == NULL) log("hello") } |