Fix this for buggy gdb behavior alongside the change

to clang that omits debug information for non-user-defined
methods.

llvm-svn: 158008
This commit is contained in:
Eric Christopher 2012-06-05 18:16:03 +00:00
parent a6fb910fad
commit cc389be552
1 changed files with 4 additions and 2 deletions

View File

@ -3,8 +3,10 @@
// Radar 9168773
// DEBUGGER: ptype A
// CHECK: type = class A {
// CHECK-NEXT: public:
// 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-NEXT: int MyData;
// CHECK-NEXT: }
class A;