diff options
-rw-r--r-- | debuginfo-tests/forward-declare-class.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/debuginfo-tests/forward-declare-class.cpp b/debuginfo-tests/forward-declare-class.cpp index c133d2c5871..56bca42d326 100644 --- a/debuginfo-tests/forward-declare-class.cpp +++ b/debuginfo-tests/forward-declare-class.cpp @@ -3,8 +3,10 @@ // Radar 9168773 // DEBUGGER: ptype A -// CHECK: type = class A { -// CHECK-NEXT: public: +// Work around a gdb bug where it believes that a class is a +// struct if there aren't any methods - even though it's tagged +// as a class. +// CHECK: type = struct A { // CHECK-NEXT: int MyData; // CHECK-NEXT: } class A; |