[flang] Accept polymorphic component element in storage_size
[llvm-project.git] / flang / test / Lower / basic-subroutine.f90
blobaaa37d7123250f21cbe678cd7f8108210ead5794
1 ! RUN: bbc %s --pft-test | FileCheck %s
2 ! RUN: bbc %s -o "-" -emit-fir | FileCheck %s --check-prefix=FIR
4 subroutine sub1()
5 end subroutine
7 ! CHECK: 1 Subroutine sub1: subroutine sub1()
8 ! CHECK: 1 EndSubroutineStmt: end subroutine
9 ! CHECK: End Subroutine sub1
11 ! FIR-LABEL: func @_QPsub1() {
12 ! FIR: return
13 ! FIR: }