diff options
author | fche <fche> | 2005-08-03 22:14:41 +0000 |
---|---|---|
committer | fche <fche> | 2005-08-03 22:14:41 +0000 |
commit | d5d7c2cc6123580686d5934d83e2b41a8a90cfbb (patch) | |
tree | 422cea4c21dfe40927a5bf90784edd796ee2c45c /testsuite/semok/sixteen.stp | |
parent | 863c02e866122ff21bcba6253b8addfd39703136 (diff) | |
download | systemtap-steved-d5d7c2cc6123580686d5934d83e2b41a8a90cfbb.tar.gz systemtap-steved-d5d7c2cc6123580686d5934d83e2b41a8a90cfbb.tar.xz systemtap-steved-d5d7c2cc6123580686d5934d83e2b41a8a90cfbb.zip |
2005-08-03 Frank Ch. Eigler <fche@redhat.com>
* 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.
Diffstat (limited to 'testsuite/semok/sixteen.stp')
-rwxr-xr-x | testsuite/semok/sixteen.stp | 13 |
1 files changed, 13 insertions, 0 deletions
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; +} |