blob: 81af19a17d44c185862d23055779b033d8d3a142 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// Purpose:
// Check that \DexExpectWatchValue correctly applies a penalty when
// expected values are not found.
//
// UNSUPPORTED: system-darwin
//
//
// RUN: %dexter_regression_test_cxx_build %s -o %t
// RUN: not %dexter_regression_test_run --binary %t -- %s | FileCheck --dump-input-context=999999999 %s
// CHECK: expect_watch_value.cpp:
int main()
{
for (int i = 0; i < 3; ++i)
int a = i; // DexLabel('loop')
return 0; // DexLabel('ret')
}
// DexExpectWatchValue('i', '0', '1', '2', on_line=ref('loop'))
// DexExpectWatchValue('i', '3', on_line=ref('ret'))
// ---------------------^ out of scope
|