Revert "[mlir] Python: Parse ModuleOp from file path" (#126482)
[llvm-project.git] / cross-project-tests / debuginfo-tests / dexter / feature_tests / subtools / test / err_syntax_dexdeclarefile.cpp
blobe3f08af204e7664a033e15058e52c3ee0f86c3fe
1 // Purpose:
2 // Check that Dexter command syntax errors associate with the line and file
3 // they appeared in rather than the current declared file.
4 //
5 // RUN: %dexter_regression_test_build %s -o %t
6 // RUN: not %dexter_base test --binary %t --debugger 'lldb' -v -- %s \
7 // RUN: | FileCheck %s --implicit-check-not=FAIL-FILENAME-MATCH
9 // CHECK: err_syntax_dexdeclarefile.cpp(14): Undeclared address: 'not_been_declared'
11 int main() { return 0; }
13 // DexDeclareFile('FAIL-FILENAME-MATCH')
14 // DexExpectWatchValue('example', address('not_been_declared'))