2 // RUN: fir-opt --add-debug-foundation --mlir-print-debuginfo %s | FileCheck %s
5 // Test that there is only one FileAttribute generated for multiple functions
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