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: not %dexter_regression_test -- %s | FileCheck %s
9 // CHECK: expect_watch_value.cpp:
10
main()11 int main()
12 {
13 for (int i = 0; i < 3; ++i)
14 int a = i; // DexLabel('loop')
15 return 0; // DexLabel('ret')
16 }
17
18 // DexExpectWatchValue('i', '0', '1', '2', on_line=ref('loop'))
19 // DexExpectWatchValue('i', '3', on_line=ref('ret'))
20 // ---------------------^ out of scope
21