28 lines · cpp
1// RUN: %clangxx %target_itanium_abi_host_triple -O0 -g %s -c -o %t.o2// RUN: %test_debuginfo %s %t.o3// Radar 91687734// XFAIL: !system-darwin && gdb-clang-incompatibility5 6// DEBUGGER: ptype A7// Work around a gdb bug where it believes that a class is a8// struct if there aren't any methods - even though it's tagged9// as a class.10// CHECK: {{struct|class}} A {11// CHECK: 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 28