summaryrefslogtreecommitdiff
path: root/debuginfo-tests
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2012-07-23 19:41:58 +0000
committerEric Christopher <echristo@apple.com>2012-07-23 19:41:58 +0000
commit118c1961ae7d77224553c8def8680cea79f7f403 (patch)
treea3a1af8efb70b5a43a115f25365db74622019a6a /debuginfo-tests
parent378458d597b04ceb9731fae504c76ccf645ea50d (diff)
downloadllvm-118c1961ae7d77224553c8def8680cea79f7f403.tar.gz
Fix this for gdb 7.4.
Patch by Andy Gibbs. llvm-svn: 160639
Diffstat (limited to 'debuginfo-tests')
-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 56bca42d3264..5c0f1df86e56 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;