diff options
author | Sean Callanan <scallanan@apple.com> | 2013-05-24 20:36:56 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2013-05-24 20:36:56 +0000 |
commit | 0b342b6ddf629005e47a2fdf9929fc7bfe162814 (patch) | |
tree | f2de0f58968f5625280a22629b57de7bd8fa0368 /lldb/test/expression_command/persistent_variables/TestPersistentVariables.py | |
parent | eb91eac9fb866ab1243366d2e238b9961895612d (diff) | |
download | bcm5719-llvm-0b342b6ddf629005e47a2fdf9929fc7bfe162814.tar.gz bcm5719-llvm-0b342b6ddf629005e47a2fdf9929fc7bfe162814.zip |
Fixed signed operations in the IR interpreter.
Scalar now can make itself signed if needed.
<rdar://problem/13977632>
llvm-svn: 182668
Diffstat (limited to 'lldb/test/expression_command/persistent_variables/TestPersistentVariables.py')
-rw-r--r-- | lldb/test/expression_command/persistent_variables/TestPersistentVariables.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lldb/test/expression_command/persistent_variables/TestPersistentVariables.py b/lldb/test/expression_command/persistent_variables/TestPersistentVariables.py index 51c22aa9c52..fbbbda620de 100644 --- a/lldb/test/expression_command/persistent_variables/TestPersistentVariables.py +++ b/lldb/test/expression_command/persistent_variables/TestPersistentVariables.py @@ -28,24 +28,24 @@ class PersistentVariablesTestCase(TestBase): self.expect("expression $i + 1", startstr = "(int) $1 = 6") - # (int) $0 = 6 self.expect("expression $i + 3", startstr = "(int) $2 = 8") - # (int) $1 = 8 self.expect("expression $2 + $1", startstr = "(int) $3 = 14") - # (int) $2 = 14 self.expect("expression $3", startstr = "(int) $3 = 14") - # (int) $2 = 14 self.expect("expression $2", startstr = "(int) $2 = 8") - # (int) $1 = 8 + self.expect("expression (int)-2", + startstr = "(int) $4 = -2") + + self.expect("expression $4 > (int)31", + startstr = "(bool) $5 = false") if __name__ == '__main__': import atexit |