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