Debian Codegraph @

gcc/testsuite/gfortran.dg/weak-1.f90

raw
1 ! { dg-do compile }
2 ! { dg-require-weak "" }
3 ! { dg-final { scan-assembler "weak\[^ \t\]*\[ \t\]_?impl" { target { ! nvptx-*-* } } } }
4 ! { dg-final { scan-assembler-times "\\.weak \\.func impl" 2 { target nvptx-*-* } } }
5 subroutine impl
6 !GCC$ ATTRIBUTES weak :: impl
7 end subroutine