1 // RUN: fir-opt --add-debug-info --mlir-print-debuginfo %s | FileCheck %s
3 module attributes {dlti.dl_spec = #dlti.dl_spec<>} {
4 func.func private @str(%arg0: index) -> i32 loc(#loc1)
6 #loc1 = loc("test.f90":5:1)
8 // CHECK: #[[INT32_TY:.*]] = #llvm.di_basic_type<tag = DW_TAG_base_type, name = "integer", sizeInBits = 32, encoding = DW_ATE_signed>
9 // CHECK: #[[INT64_TY:.*]] = #llvm.di_basic_type<tag = DW_TAG_base_type, name = "integer", sizeInBits = 64, encoding = DW_ATE_signed>
10 // CHECK: #llvm.di_subroutine_type<{{.*}}types = #[[INT32_TY]], #[[INT64_TY]]>