brintos

brintos / llvm-project-archived public Read only

0
0
Text · 526 B · 4ee8eff Raw
19 lines · cpp
1// Purpose:2//    Check that \DexDeclareFile causes a DexExpectWatchValue's to generate a3//    missing value penalty when the declared path is incorrect.4//5// UNSUPPORTED: system-darwin6//7//8// RUN: %dexter_regression_test_cxx_build %s -o %t9// RUN: not %dexter_regression_test_run --binary %t -- %s | FileCheck %s10// CHECK: dex_declare_file.cpp11 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