blob: 8a858e40dac0fc069a065956977626145cff6eb4 [file] [log] [blame]
Filipe Cabecinhas63f2c2c2014-10-16 23:43:34 +00001// RUN: %clangxx --target=%itanium_abi_host_triple -O0 -g %s -c -o %t.o
2// RUN: %clangxx --target=%itanium_abi_host_triple %t.o -o %t.out
Devang Patelce04aa52011-06-15 17:57:23 +00003// RUN: %test_debuginfo %s %t.out
4
5
6// DEBUGGER: break 14
7// DEBUGGER: r
8// DEBUGGER: p *this
9// CHECK-NEXT-NOT: Cannot access memory at address
10
11class A {
12public:
13 A() : zero(0), data(42)
14 {
15 }
16private:
17 int zero;
18 int data;
19};
20
21int main() {
22 A a;
23 return 0;
24}
25