brintos

brintos / llvm-project-archived public Read only

0
0
Text · 632 B · e80b34d Raw
20 lines · cpp
1// Purpose:2//      Check that parsing bad commands gives a useful error.3//          - Unbalanced parenthesis4//      Check directives are in check.txt to prevent dexter reading any embedded5//      commands.6//7// RUN: %dexter_regression_test_cxx_build %s -o %t8// RUN: not %dexter_base test --binary %t %dexter_regression_test_debugger_args \9// RUN:     -v -- %s | FileCheck %s --match-full-lines --strict-whitespace10//11// CHECK:parser error:{{.*}}err_paren.cpp(19): Unbalanced parenthesis starting here12// CHECK:// {{Dex}}ExpectWatchValue(13// CHECK:                      ^14 15int main(){16    return 0;17}18 19// DexExpectWatchValue(20