blob: 331d4e5756cce4f9994785b896bc0ff3f4bd5a68 [file] [log] [blame]
Devang Patelce04aa52011-06-15 17:57:231// RUN: %clangxx -O0 -g %s -c -o %t.o
2// RUN: %clangxx %t.o -o %t.out
3// 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