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:
Johnny Chen 2010-10-01 23:34:28 +00:00
parent d18c5aa20a
commit 7fce877aa5
1 changed files with 3 additions and 2 deletions

View File

@ -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.