2 // Ensure that debug information for a local variable does not hide
3 // a global definition that has the same name.
6 // UNSUPPORTED: system-windows
7 // RUN: %clang -std=gnu++11 -O0 -g %s -o %t
8 // RUN: %dexter --fail-lt 1.0 -w \
9 // RUN: --binary %t --debugger 'lldb' -v -- %s
17 const float e
= 4; // DexLabel("main")
18 const char *f
= "Woopy";
23 return d
; // DexLabel("foo")
26 // DexExpectWatchValue('d', '4', on_line=ref('main'))
27 // DexExpectWatchValue('d', '100', on_line=ref('foo'))