summaryrefslogtreecommitdiff
path: root/cross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/test/err_paren.cpp
blob: 8bae934540a2b044f2f4b61be8f685e2b7c3c0e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Purpose:
//      Check that parsing bad commands gives a useful error.
//          - Unbalanced parenthesis
//      Check directives are in check.txt to prevent dexter reading any embedded
//      commands.
//
// RUN: %dexter_regression_test_cxx_build %s -o %t
// RUN: not %dexter_base test --binary %t %dexter_regression_test_debugger_args \
// RUN:     -v -- %s | FileCheck --dump-input-context=999999999 %s --match-full-lines --strict-whitespace
//
// CHECK:parser error:{{.*}}err_paren.cpp(19): Unbalanced parenthesis starting here
// CHECK:// {{Dex}}ExpectWatchValue(
// CHECK:                      ^

int main(){
    return 0;
}

// DexExpectWatchValue(