[mlir] Update Ch-2.md (#121379)
[llvm-project.git] / flang / test / Lower / module-debug-file-loc-linux.f90
blob454fad98e9af07f477369cf91c1dd6dc3bc54231
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: system-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("/{{.*}}/test/Lower/module-debug-file-loc-linux.f90":0:0)