]>
Commit | Line | Data |
---|---|---|
d5d7c2cc FCE |
1 | #! stap -p2 |
2 | ||
3 | # all these variables should be type-inferred automatically because the | |
4 | # operators are not overloaded | |
5 | probe begin { | |
6 | a / b; c % d; e + f; g - h; i >> j; k << l; m & n; o | p; q && r; s || t; | |
7 | u . v; x * y; z ^ aa; ~ bb; ! cc; - dd; ++ ee; -- ff; | |
8 | } | |
9 | ||
10 | probe begin { | |
11 | a /= b; c %= d; e += f; g-= h; i >>= j; k <<= l; m &= n; o |= p; | |
12 | u .= v; x *= y; z ^= aa; | |
13 | } |