Update dexter tests to use the new line label reference syntax introduced in D101147. Updated with: https://gist.github.com/OCHyams/8255efe7757cac266440ed2ba55f1442 Reviewed By: chrisjackson, jmorse Differential Revision: https://reviews.llvm.org/D101148
19 lines
429 B
C++
19 lines
429 B
C++
// REQUIRES: lldb
|
|
// Purpose:
|
|
// Check the `view` subtool works with typical inputs.
|
|
//
|
|
// RUN: %dexter_regression_test --results %t -- %s
|
|
//
|
|
// RUN: %dexter_base view %t/view.cpp.dextIR | FileCheck %s
|
|
// CHECK: ## BEGIN
|
|
// CHECK: ## END
|
|
//
|
|
// # [TODO] This doesn't run if FileCheck fails!
|
|
// RUN: rm -rf %t
|
|
|
|
int main() {
|
|
int a = 0;
|
|
return 0; //DexLabel('ret')
|
|
}
|
|
// DexExpectWatchValue('a', '0', on_line=ref('ret'))
|