summaryrefslogtreecommitdiffstats
path: root/debuginfo-tests/forward-declare-class.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'debuginfo-tests/forward-declare-class.cpp')
-rw-r--r--debuginfo-tests/forward-declare-class.cpp3
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;
OpenPOWER on IntegriCloud