diff options
Diffstat (limited to 'debuginfo-tests/forward-declare-class.cpp')
-rw-r--r-- | debuginfo-tests/forward-declare-class.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/debuginfo-tests/forward-declare-class.cpp b/debuginfo-tests/forward-declare-class.cpp index 56bca42d326..5c0f1df86e5 100644 --- a/debuginfo-tests/forward-declare-class.cpp +++ b/debuginfo-tests/forward-declare-class.cpp @@ -6,7 +6,8 @@ // 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: type = {{struct|class}} A { +// CHECK-NEXT: {{(public:){0,1}}} // CHECK-NEXT: int MyData; // CHECK-NEXT: } class A; |