[flang] Accept polymorphic component element in storage_size
[llvm-project.git] / flang / test / Lower / module-debug-file-loc-linux.f90
blob4f773017096d05ac7b8d518511f30ef43e4764d4
1 ! Test that the module has the location information
3 ! RUN: %flang_fc1 -mmlir --mlir-print-debuginfo -emit-fir -o - %s | FileCheck %s
5 ! REQUIRES: linux
7 subroutine sb1()
8 end subroutine
10 ! CHECK: module attributes
11 ! CHECK: func.func @_QPsb1() {
12 ! CHECK: }
13 ! CHECK: } loc(#[[MODULE_LOC:.*]])
14 ! CHECK: #[[MODULE_LOC]] = loc("/{{.*}}flang/test/Lower/module-debug-file-loc-linux.f90":0:0)