[llvm-commits] [debuginfo-tests] r160639 - /debuginfo-tests/trunk/forward-declare-class.cpp
Eric Christopher
echristo at apple.com
Mon Jul 23 12:41:58 PDT 2012
Author: echristo
Date: Mon Jul 23 14:41:58 2012
New Revision: 160639
URL: http://llvm.org/viewvc/llvm-project?rev=160639&view=rev
Log:
Fix this for gdb 7.4.
Patch by Andy Gibbs.
Modified:
debuginfo-tests/trunk/forward-declare-class.cpp
Modified: debuginfo-tests/trunk/forward-declare-class.cpp
URL: http://llvm.org/viewvc/llvm-project/debuginfo-tests/trunk/forward-declare-class.cpp?rev=160639&r1=160638&r2=160639&view=diff
==============================================================================
--- debuginfo-tests/trunk/forward-declare-class.cpp (original)
+++ debuginfo-tests/trunk/forward-declare-class.cpp Mon Jul 23 14:41:58 2012
@@ -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;
More information about the llvm-commits
mailing list