diff --git a/lldb/test/API/lang/cpp/frame-var-anon-unions/TestFrameVariableAnonymousUnions.py b/lldb/test/API/lang/cpp/frame-var-anon-unions/TestFrameVariableAnonymousUnions.py index 6352b68e7d753..6462896042f35 100644 --- a/lldb/test/API/lang/cpp/frame-var-anon-unions/TestFrameVariableAnonymousUnions.py +++ b/lldb/test/API/lang/cpp/frame-var-anon-unions/TestFrameVariableAnonymousUnions.py @@ -29,7 +29,3 @@ def test_with_run_command(self): self.expect('frame variable -f x i', substrs=['41ffff00']) self.expect('frame variable c', substrs=["'A"]) - - self.expect('frame variable x', matching=False, substrs=['3']) - self.expect('frame variable y', matching=False, substrs=["'B'"]) - self.expect('frame variable z', matching=False, substrs=['14']) diff --git a/lldb/test/API/lang/cpp/frame-var-anon-unions/main.cpp b/lldb/test/API/lang/cpp/frame-var-anon-unions/main.cpp index 7c0eac23600a1..976d3f554b0d1 100644 --- a/lldb/test/API/lang/cpp/frame-var-anon-unions/main.cpp +++ b/lldb/test/API/lang/cpp/frame-var-anon-unions/main.cpp @@ -3,11 +3,6 @@ int main() { int i; char c; }; - struct { - int x; - char y; - short z; - } s{3,'B',14}; i = 0xFFFFFF00; c = 'A'; return c; // break here