Added a simple test for:

rdar://problem/8651752
    don't crash trying to ask clang how many children an empty record has

llvm-svn: 118820
This commit is contained in:
Johnny Chen 2010-11-11 19:15:04 +00:00
parent 7ffe3b35ac
commit 07f06c4e96
1 changed files with 4 additions and 0 deletions

View File

@ -122,6 +122,10 @@ class FoundationTestCase(TestBase):
patterns = ["ARG: \(.*\) _cmd",
"(struct objc_selector *)|(SEL)"])
# rdar://problem/8651752
# don't crash trying to ask clang how many children an empty record has
self.runCmd("frame variable *_cmd")
# rdar://problem/8492646
# test/foundation fails after updating to tot r115023
# self->str displays nothing as output