[flang] Accept polymorphic component element in storage_size
[llvm-project.git] / flang / test / Driver / dump-all-bad.f90
blob2d6f71a526af5b5174d716b1eb91ced6e221e9f3
1 ! Verify that -fdebug-dump-all dumps both symbols and the parse tree, even when semantic errors are present
3 !----------
4 ! RUN lines
5 !----------
6 ! RUN: not %flang_fc1 -fdebug-dump-all %s 2>&1 | FileCheck %s
8 ! CHECK: error: Semantic errors in
9 ! CHECK: Flang: parse tree dump
10 ! CHECK: Flang: symbols dump
12 program bad
13 real,pointer :: x
14 x = null() ! Error - must be pointer assignment
15 end