From 06119a17ce10bd578b22327d93fc5891a3268764 Mon Sep 17 00:00:00 2001 From: Sean Callanan Date: Fri, 14 Dec 2012 00:56:57 +0000 Subject: [PATCH] Made the struct test case actually use an expression instead of falling through to the "frame variable" code. llvm-svn: 170169 --- lldb/test/lang/c/struct_types/TestStructTypes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/test/lang/c/struct_types/TestStructTypes.py b/lldb/test/lang/c/struct_types/TestStructTypes.py index eb11e90..6dc2a3c 100644 --- a/lldb/test/lang/c/struct_types/TestStructTypes.py +++ b/lldb/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)", " = '"]) -- 2.7.4