forked from OSchip/llvm-project
Added a test that makes sure that structs returned
from expressions return intact. <rdar://problem/21146609> llvm-svn: 238512
This commit is contained in:
parent
6555adb110
commit
cc3489f662
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue