summaryrefslogtreecommitdiffstats
path: root/testsuite/parseko/three.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/parseko/three.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/parseko/three.stp')
-rwxr-xr-xtestsuite/parseko/three.stp5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/parseko/three.stp b/testsuite/parseko/three.stp
new file mode 100755
index 00000000..4db7dd3f
--- /dev/null
+++ b/testsuite/parseko/three.stp
@@ -0,0 +1,5 @@
+#! semtest
+
+probe foo {
+ 1 + 2 = 3; # bad lvalue
+}