From 118c1961ae7d77224553c8def8680cea79f7f403 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Mon, 23 Jul 2012 19:41:58 +0000 Subject: Fix this for gdb 7.4. Patch by Andy Gibbs. llvm-svn: 160639 --- debuginfo-tests/forward-declare-class.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'debuginfo-tests/forward-declare-class.cpp') 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; -- cgit v1.2.3