diff options
author | Eric Christopher <echristo@apple.com> | 2012-07-23 19:41:58 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2012-07-23 19:41:58 +0000 |
commit | 118c1961ae7d77224553c8def8680cea79f7f403 (patch) | |
tree | a3a1af8efb70b5a43a115f25365db74622019a6a /debuginfo-tests | |
parent | 378458d597b04ceb9731fae504c76ccf645ea50d (diff) | |
download | llvm-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.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 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; |