blob: 03e0b9420fb1d88b101f1ab0923b78a8a3e428ba [file] [log] [blame]
// 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='ret')