summaryrefslogtreecommitdiffstats
path: root/testsuite/semok/five.stp
diff options
context:
space:
mode:
authorfche <fche>2005-03-03 21:24:24 +0000
committerfche <fche>2005-03-03 21:24:24 +0000
commit0054a7eaacba2a7183be67b28e7746ed55a8f6d1 (patch)
treeed5c0db8a2cd3bb85fd9bd24232fe01ef6576a68 /testsuite/semok/five.stp
parent56099f083d7a68722ace316be4d288d21caabaee (diff)
downloadsystemtap-steved-0054a7eaacba2a7183be67b28e7746ed55a8f6d1.tar.gz
systemtap-steved-0054a7eaacba2a7183be67b28e7746ed55a8f6d1.tar.xz
systemtap-steved-0054a7eaacba2a7183be67b28e7746ed55a8f6d1.zip
2005-03-03 Frank Ch. Eigler <fche@redhat.com>
* parse.cxx (parse_assignment): Assert lvalueness of left operand. * staptree.h (expression): Add is_lvalue member. * staptree.cxx (functioncall::resolve_types): Don't crash on formal-vs-actual argument count mismatch. (*): Add some is_lvalue stub functions. * testsuite/*: Some new tests.
Diffstat (limited to 'testsuite/semok/five.stp')
-rwxr-xr-xtestsuite/semok/five.stp7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/semok/five.stp b/testsuite/semok/five.stp
new file mode 100755
index 00000000..c8b59e73
--- /dev/null
+++ b/testsuite/semok/five.stp
@@ -0,0 +1,7 @@
+#! parsetest
+
+probe foo
+{
+ array[1] = array[2] = 3;
+ statvar << value << 4;
+}