Debian Codegraph @

flang/test/Driver/dump-all-bad.f90

raw
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
12 program bad
13 type dt(k)
14 integer(kind=16) :: k
15 integer(kind=16) :: comp
16 end type dt
17 end