diff 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; +} |