Debian Codegraph @

gcc/testsuite/gfortran.dg/dependency_generation_1.f90

raw
1 ! This test case ensures that the -MT flag is correctly replacing the object name in the dependency file.
2 ! See PR 47485
3 !
4 ! Contributed by Vincent Vanlaer <[email protected]>
5 !
6 ! { dg-do preprocess }
7 ! { dg-additional-options "-cpp" }
8 ! { dg-additional-options "-M" }
9 ! { dg-additional-options "-MF deps" }
10 ! { dg-additional-options "-MT obj.o" }
11
12 module test
13 end module
14
15 ! { dg-final { scan-file "deps" "obj.o:.*" } }