Fix this for gdb 7.4.

Patch by Andy Gibbs.

llvm-svn: 160639
This commit is contained in:
Eric Christopher
2012-07-23 19:41:58 +00:00
parent 378458d597
commit 118c1961ae

View File

@@ -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;