forked from OSchip/llvm-project
I committed too fast. Both "struct objc_selector *" and "SEL" are possible,
depending on the compiler used. Former if gcc/llvm-gcc, and latter if clang. llvm-svn: 115380
This commit is contained in:
parent
d18c5aa20a
commit
7fce877aa5
|
@ -108,8 +108,9 @@ class FoundationTestCase(TestBase):
|
|||
'clang_type = "@interface MyString'])
|
||||
|
||||
self.expect("frame variable -s", VARIABLES_DISPLAYED_CORRECTLY,
|
||||
substrs = ["ARG: (MyString *) self",
|
||||
"ARG: (SEL) _cmd"])
|
||||
substrs = ["ARG: (MyString *) self"],
|
||||
patterns = ["ARG: \(.*\) _cmd",
|
||||
"(struct objc_selector *)|(SEL)"])
|
||||
|
||||
# Test new feature with r115115:
|
||||
# Add "-o" option to "expression" which prints the object description if available.
|
||||
|
|
Loading…
Reference in New Issue