2 // RUN: fir-opt --add-debug-info --mlir-print-debuginfo %s | FileCheck %s
3 // REQUIRES: system-linux
5 // Test that there is only one FileAttribute generated for multiple functions
7 module attributes {dlti.dl_spec = #dlti.dl_spec<>} {
14 func.func @_QQmain() {
18 #loc = loc("/home/user01/llvm-project/build_release/simple.f90":0:0)
19 #loc1 = loc("/home/user01/llvm-project/build_release/simple.f90":1:1)
20 #loc2 = loc("/home/user01/llvm-project/build_release/simple.f90":2:1)
21 #loc3 = loc("/home/user01/llvm-project/build_release/simple.f90":3:1)
23 // CHECK-COUNT-1: #llvm.di_file