[flang] Accept polymorphic component element in storage_size
[llvm-project.git] / flang / test / Driver / debug-parsing-log.f90
blob729716310945035b82f04a971baafcad1d87c5cf
1 ! RUN: %flang_fc1 -fdebug-dump-parsing-log %s 2>&1 | FileCheck %s
3 ! Below are just few lines extracted from the dump. The actual output is much _much_ bigger.
5 ! CHECK: {{.*[/\\]}}debug-parsing-log.f90:25:1: IMPLICIT statement
6 ! CHECK-NEXT: END PROGRAM
7 ! CHECK-NEXT: ^
8 ! CHECK-NEXT: fail 3
9 ! CHECK-NEXT: {{.*[/\\]}}debug-parsing-log.f90:25:1: error: expected 'IMPLICIT NONE'
10 ! CHECK-NEXT: END PROGRAM
11 ! CHECK-NEXT: ^
12 ! CHECK-NEXT: {{.*[/\\]}}debug-parsing-log.f90:25:1: in the context: IMPLICIT statement
13 ! CHECK-NEXT: END PROGRAM
14 ! CHECK-NEXT: ^
15 ! CHECK-NEXT: {{.*[/\\]}}debug-parsing-log.f90:25:1: in the context: implicit part
16 ! CHECK-NEXT: END PROGRAM
17 ! CHECK-NEXT: ^
18 ! CHECK-NEXT: {{.*[/\\]}}debug-parsing-log.f90:25:1: in the context: specification part
19 ! CHECK-NEXT: END PROGRAM
20 ! CHECK-NEXT: ^
21 ! CHECK-NEXT: {{.*[/\\]}}debug-parsing-log.f90:25:1: in the context: main program
22 ! CHECK-NEXT: END PROGRAM
23 ! CHECK-NEXT: ^
25 END PROGRAM