diff options
author | alon@honor <none@none> | 2010-09-02 20:27:29 -0700 |
---|---|---|
committer | alon@honor <none@none> | 2010-09-02 20:27:29 -0700 |
commit | 26753c442d2fe09190005d999da48f886fcf996f (patch) | |
tree | 83153b8d4acca96317f02492b73051cf766c3c0c /tests/runner.py | |
parent | aa9ac51abcb31172b46df7f13a90e8a97b9abd91 (diff) |
xor support +test
Diffstat (limited to 'tests/runner.py')
-rw-r--r-- | tests/runner.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py index 981f4136..c72b1e86 100644 --- a/tests/runner.py +++ b/tests/runner.py @@ -166,11 +166,12 @@ class T(unittest.TestCase): int i = k > 100; // Should be an int, not a bool! int j = i << 6; j >>= 1; + j = j ^ 5; printf("*%d,%d,%d,%d,%d,%d,%d*\\n", x, y, z, w, k, i, j); return 0; } ''' - self.do_test(src, '*5,23,10,19,101,1,32*') + self.do_test(src, '*5,23,10,19,101,1,37*') def test_floatvars(self): src = ''' |