brintos

brintos / llvm-project-archived public Read only

0
0
Text · 588 B · 0fdf255 Raw
15 lines · cpp
1// Purpose:2//      Check that Dexter command syntax errors associate with the line and file3//      they appeared in rather than the current declared file.4//5// RUN: %dexter_regression_test_cxx_build %s -o %t6// RUN: not %dexter_base test --binary %t %dexter_regression_test_debugger_args -v -- %s \7// RUN:     | FileCheck %s --implicit-check-not=FAIL-FILENAME-MATCH8 9// CHECK: err_syntax_dexdeclarefile.cpp(14): Undeclared address: 'not_been_declared'10 11int main() { return 0; }12 13// DexDeclareFile('FAIL-FILENAME-MATCH')14// DexExpectWatchValue('example', address('not_been_declared'))15