self.expect("expression -- '(anonymous namespace)::i'", VARIABLES_DISPLAYED_CORRECTLY,
            substrs = [" = 3"])

to get rid of the '(anonymous namespace)', which is not c++ syntax, thingy fed to the expression parser.
According to rdar://problem/8668674.  It is still marked expectedFailure since the bug has not been fixed.

llvm-svn: 136290
This commit is contained in:
Johnny Chen 2011-07-27 23:17:56 +00:00
parent e37f7dc349
commit 847f511300
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ class NamespaceTestCase(TestBase):
# rdar://problem/8668674
# expression command with fully qualified namespace for a variable does not work
self.expect("expression -- '(anonymous namespace)::i'", VARIABLES_DISPLAYED_CORRECTLY,
self.expect("expression -- '::i'", VARIABLES_DISPLAYED_CORRECTLY,
substrs = [" = 3"])
self.expect("expression -- 'A::B::j'", VARIABLES_DISPLAYED_CORRECTLY,
substrs = [" = 4"])