You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
462 B
31 lines
462 B
// RUN: %clangxx %s -g -fexceptions %extra-clang-opts -o %t
|
|
// RUN: %Test_jit_debuginfo %s %t
|
|
// Radar 9168773
|
|
|
|
// DEBUGGER: set breakpoint pending on
|
|
// DEBUGGER: b forward-declare-class.cpp:28
|
|
// DEBUGGER: r
|
|
// DEBUGGER: ptype A
|
|
// CHECK: type = class A {
|
|
// CHECK-NEXT: public:
|
|
// 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;
|
|
|
|
int main() {
|
|
return 0;
|
|
}
|