• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // REQUIRES: lldb
2 // Purpose:
3 //      Check the `view` subtool works with typical inputs.
4 //
5 // RUN: %dexter_regression_test --results %t -- %s
6 //
7 // RUN: %dexter_base view %t/view.cpp.dextIR | FileCheck %s
8 // CHECK: ## BEGIN
9 // CHECK: ## END
10 //
11 // # [TODO] This doesn't run if FileCheck fails!
12 // RUN: rm -rf %t
13 
main()14 int main() {
15     int a = 0;
16     return 0; //DexLabel('ret')
17 }
18 // DexExpectWatchValue('a', '0', on_line='ret')
19