1// Purpose:
2// Check that \DexDeclareFile causes a DexExpectWatchValue's to generate a
3// missing value penalty when the declared path is incorrect.
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: dex_declare_file.cpp
11
12int main() {
13 int result = 0;
14 return result; //DexLabel('return')
15}
16
17// DexDeclareFile('this_file_does_not_exist.cpp')
18// DexExpectWatchValue('result', 0, on_line='return')
19

source code of cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/penalty/dex_declare_file.cpp