mirror of
https://github.com/intel/llvm.git
synced 2026-01-19 01:15:50 +08:00
Fix this for gdb 7.4.
Patch by Andy Gibbs. llvm-svn: 160639
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user