[flang] Accept polymorphic component element in storage_size
[llvm-project.git] / flang / test / Driver / tco-code-gen-llvm.fir
blobf0641865c09b28f97dad30d1545674c3c8a50009
1 // Test the tco's -code-gen-llvm option.
3 // RUN: tco -code-gen-llvm %s 2>&1 | FileCheck %s
5 // Check that FIR is translated into LLVM IR, and that
6 // there is no any FIR output.
8 // CHECK-NOT: func.func
9 // CHECK: define void @_QPfoo
10 // CHECK-NOT: func.func
11 func.func @_QPfoo() {
12   return