1 // REQUIRES: lldb
2 // UNSUPPORTED: system-windows
3 //
4 // RUN: %clang -std=gnu++11 -O0 -glldb %s -o %t
5 // RUN: %dexter --fail-lt 1.0 -w \
6 // RUN: --binary %t --debugger 'lldb' -- %s
7
8 class A {
9 public:
A()10 A() : zero(0), data(42) { // DexLabel('ctor_start')
11 }
12 private:
13 int zero;
14 int data;
15 };
16
main()17 int main() {
18 A a;
19 return 0;
20 }
21
22
23 /*
24 DexExpectProgramState({
25 'frames': [
26 {
27 'location': {
28 'lineno': ref('ctor_start')
29 },
30 'watches': {
31 '*this': {'is_irretrievable': False}
32 }
33 }
34 ]
35 })
36 */
37
38