[lldb] fix fd leak during lldb testsuite (#118093)
[llvm-project.git] / flang / test / Driver / dump-parse-tree-no-sema.f90
blob8e2ed457e4d33c433661cee757f1e1db5eb737ba
1 !----------
2 ! RUN lines
3 !----------
4 ! RUN: %flang_fc1 -fdebug-dump-parse-tree %s 2>&1 | FileCheck %s --check-prefix=SEMA_ON
5 ! RUN: %flang_fc1 -fdebug-dump-parse-tree-no-sema %s 2>&1 | FileCheck %s --check-prefix=SEMA_OFF
7 ! SEMA_ON: | | | NamedConstant -> Name = 'i'
8 ! SEMA_ON-NEXT: | | | Constant -> Expr = '1_4'
9 ! SEMA_ON-NEXT: | | | | LiteralConstant -> IntLiteralConstant = '1'
11 ! SEMA_OFF: | | | NamedConstant -> Name = 'i'
12 ! SEMA_OFF-NEXT: | | | Constant -> Expr -> LiteralConstant -> IntLiteralConstant = '1'
14 parameter(i=1)
15 integer :: j
16 end program