1// RUN: %clangxx %s -g -fexceptions %extra-clang-opts -o %t
2// RUN: %Test_jit_debuginfo %s %t
3// Radar 9168773
4
5// DEBUGGER: set breakpoint pending on
6// DEBUGGER: b forward-declare-class.cpp:28
7// DEBUGGER: r
8// DEBUGGER: ptype A
9// CHECK: type = class A {
10// CHECK-NEXT: public:
11// CHECK-NEXT: int MyData;
12// CHECK-NEXT: }
13class A;
14class B {
15public:
16  void foo(const A *p);
17};
18
19B iEntry;
20
21class A {
22public:
23  int MyData;
24};
25
26A irp;
27
28int main() {
29  return 0;
30}
31