From d5d7c2cc6123580686d5934d83e2b41a8a90cfbb Mon Sep 17 00:00:00 2001 From: fche Date: Wed, 3 Aug 2005 22:14:41 +0000 Subject: 2005-08-03 Frank Ch. Eigler * stap.1: More meat, all stub sections filled. * elaborate.cxx (visit_assignment): Add numerous missing cases. * parse.cxx: Parse ".=" operator. * testsuite/semok/sixteen.stp: Check them. * main.cxx (usage): Don't show incompletely supported options. --- testsuite/semok/sixteen.stp | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 testsuite/semok/sixteen.stp (limited to 'testsuite/semok') diff --git a/testsuite/semok/sixteen.stp b/testsuite/semok/sixteen.stp new file mode 100755 index 00000000..1b8cb880 --- /dev/null +++ b/testsuite/semok/sixteen.stp @@ -0,0 +1,13 @@ +#! stap -p2 + +# all these variables should be type-inferred automatically because the +# operators are not overloaded +probe begin { + a / b; c % d; e + f; g - h; i >> j; k << l; m & n; o | p; q && r; s || t; + u . v; x * y; z ^ aa; ~ bb; ! cc; - dd; ++ ee; -- ff; +} + +probe begin { + a /= b; c %= d; e += f; g-= h; i >>= j; k <<= l; m &= n; o |= p; + u .= v; x *= y; z ^= aa; +} -- cgit