xref: /llvm-project/flang/test/Driver/dump-all-bad.f90 (revision d5cc372332fcf573d9182991705c58aa884e159f)
1! Verify that -fdebug-dump-all dumps both symbols and the parse tree, even when semantic errors are present
2
3!----------
4! RUN lines
5!----------
6! RUN: not %flang_fc1 -fdebug-dump-all %s 2>&1 | FileCheck %s
7
8! CHECK: error: Semantic errors in
9! CHECK: Flang: parse tree dump
10! CHECK: Flang: symbols dump
11
12program bad
13  type dt(k)
14    integer(kind=16) :: k
15    integer(kind=16) :: comp
16  end type dt
17end
18