[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / flang / test / Lower / macro-debug-file-loc.f90
bloba47c9aae178530e669a9454913abcb4c366e635c
1 ! Test that the expanded macros have the location information
2 ! RUN: %flang_fc1 -mmlir --mlir-print-debuginfo -emit-fir -o - %s | FileCheck %s
4 #define CMD(fname) fname()
6 subroutine foo()
7 end subroutine
9 subroutine test()
10 ! CHECK: fir.call @_QPfoo() fastmath<contract> : () -> () loc(#[[CALL_LOC:.*]])
11 call CMD(foo)
12 end subroutine
13 ! CHECK: #[[CALL_LOC]] = loc("{{.*}}macro-debug-file-loc.f90":11:3)