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: }
13 class A;
14 class B {
15 public:
16   void foo(const A *p);
17 };
18 
19 B iEntry;
20 
21 class A {
22 public:
23   int MyData;
24 };
25 
26 A irp;
27 
main()28 int main() {
29   return 0;
30 }
31