| // REQUIRES: system-windows |
| // RUN: %dexter --fail-lt 1.0 -w --builder 'clang-cl_vs2015' \ |
| // RUN: --debugger 'dbgeng' --cflags '/Z7 /Zi' --ldflags '/Z7 /Zi' -- %s |
| // Check that global constants have debug info. |
| const float TestPi = 3.14; |
| static const char TestCharA = 'a'; |
| useConst(ENUM_NEG); // DexLabel('stop') |
| // DexExpectWatchValue('TestPi', 3.140000104904175, on_line=ref('stop')) |
| // DexExpectWatchValue('S::TestCharA', 97, on_line=ref('stop')) |
| // DexExpectWatchValue('ENUM_NEG', -2147000000, on_line=ref('stop')) |
| /* DexExpectProgramState({'frames': [{ |
| 'location': {'lineno' : ref('stop')}, |
| 'watches': {'ENUM_POS' : {'is_irretrievable': True}} |