2 // UNSUPPORTED: system-windows
3 // RUN: %clang -std=gnu11 -O2 -glldb %s -o %t
4 // RUN: %dexter --fail-lt 1.0 -w --debugger lldb --binary %t -- %s
6 //// Check that we give good locations to a variable ('local') which is escaped
7 //// down some control paths and not others. This example is handled well currently.
10 __attribute__((__noinline__
))
16 __attribute__((__noinline__
))
18 int local
= 0; // DexLabel('s1')
23 return local
; // DexLabel('s2')
33 // DexExpectWatchValue('local', '0', '0', on_line=ref('s1'))
34 // DexExpectWatchValue('local', '2', '1', on_line=ref('s2'))