aboutsummaryrefslogtreecommitdiff
path: root/test/lang/c
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2012-12-14 00:56:57 +0000
committerSean Callanan <scallanan@apple.com>2012-12-14 00:56:57 +0000
commit0cbeb07a774e42d0be092a6613856788cd3134e7 (patch)
tree67e33609ce280cdb30cb89be43b1823700122427 /test/lang/c
parent23e2b6d3b518ea0166d1031888ed16a567b973ef (diff)
downloadlldb-0cbeb07a774e42d0be092a6613856788cd3134e7.tar.gz
Made the struct test case actually use an expression
instead of falling through to the "frame variable" code. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@170169 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/lang/c')
-rw-r--r--test/lang/c/struct_types/TestStructTypes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lang/c/struct_types/TestStructTypes.py b/test/lang/c/struct_types/TestStructTypes.py
index eb11e90f7..6dc2a3ce0 100644
--- a/test/lang/c/struct_types/TestStructTypes.py
+++ b/test/lang/c/struct_types/TestStructTypes.py
@@ -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)", " = '"])