Made the struct test case actually use an expression

instead of falling through to the "frame variable"
code.

llvm-svn: 170169
This commit is contained in:
Sean Callanan 2012-12-14 00:56:57 +00:00
parent fa3ab4599d
commit 06119a17ce
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ class StructTypesTestCase(TestBase):
DATA_TYPES_DISPLAYED_CORRECTLY,
substrs = ["pt.padding[1] = '"])
# Test zero length array access and make sure it succeeds with "expression"
self.expect("expression -- pt.padding[0]",
self.expect("expression -- (pt.padding[0])",
DATA_TYPES_DISPLAYED_CORRECTLY,
substrs = ["(char)", " = '"])