[flang] Accept polymorphic component element in storage_size
[llvm-project.git] / cross-project-tests / debuginfo-tests / dexter / feature_tests / subtools / view.cpp
blobd5b04b3fe8eff5125f4cd72a6ae8d4c8c69f2ee1
1 // Purpose:
2 // Check the `view` subtool works with typical inputs.
3 //
4 // RUN: %dexter_regression_test --results %t -- %s
5 //
6 // RUN: %dexter_base view %t/view.cpp.dextIR | FileCheck %s
7 // CHECK: ## BEGIN
8 // CHECK: ## END
9 //
10 // # [TODO] This doesn't run if FileCheck fails!
11 // RUN: rm -rf %t
13 int main() {
14 int a = 0;
15 return 0; //DexLabel('ret')
17 // DexExpectWatchValue('a', '0', on_line=ref('ret'))