Author: spyffe Date: Thu May 28 16:58:52 2015 New Revision: 238512 URL: http://llvm.org/viewvc/llvm-project?rev=238512&view=rev Log: Added a test that makes sure that structs returned from expressions return intact.
<rdar://problem/21146609> Modified: lldb/trunk/test/expression_command/persistent_types/TestPersistentTypes.py Modified: lldb/trunk/test/expression_command/persistent_types/TestPersistentTypes.py URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/expression_command/persistent_types/TestPersistentTypes.py?rev=238512&r1=238511&r2=238512&view=diff ============================================================================== --- lldb/trunk/test/expression_command/persistent_types/TestPersistentTypes.py (original) +++ lldb/trunk/test/expression_command/persistent_types/TestPersistentTypes.py Thu May 28 16:58:52 2015 @@ -43,6 +43,9 @@ class PersistenttypesTestCase(TestBase): self.expect("memory read foo -t foobar", substrs = ['($foobar) 0x', ' = ', "a = 'H'","b = 'e'","c = 'l'","d = 'l'"],matching=False,error=True) # the type name is $foobar, make sure we settle for nothing less + self.expect("expression struct { int a; int b; } x = { 2, 3 }; x", + substrs = ['a = 2', 'b = 3']) + if __name__ == '__main__': import atexit _______________________________________________ lldb-commits mailing list lldb-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits