2011-03-24 00:30:03 +08:00
|
|
|
// RUN: %clangxx -O0 -g %s -c -o %t.o
|
|
|
|
// RUN: %test_debuginfo %s %t.o
|
|
|
|
// Radar 9168773
|
|
|
|
|
|
|
|
// DEBUGGER: ptype A
|
2011-05-22 02:17:06 +08:00
|
|
|
// CHECK: type = class A {
|
|
|
|
// CHECK-NEXT: public:
|
2011-03-24 00:30:03 +08:00
|
|
|
// CHECK-NEXT: int MyData;
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
class A;
|
|
|
|
class B {
|
|
|
|
public:
|
|
|
|
void foo(const A *p);
|
|
|
|
};
|
|
|
|
|
|
|
|
B iEntry;
|
|
|
|
|
|
|
|
class A {
|
|
|
|
public:
|
|
|
|
int MyData;
|
|
|
|
};
|
|
|
|
|
|
|
|
A irp;
|
|
|
|
|