Debian Codegraph @

gcc/testsuite/gfortran.dg/stfunc_7.f90

raw
1 ! { dg-do compile }
2 ! { dg-options "-std=legacy" }
3 !
4 ! PR 50553: statement function cannot be target (r178939)
5 !
6 ! Contributed by Vittorio Zecca <[email protected]>
7
8 f(x)=x
9 target f ! { dg-error "attribute conflicts with" }
10 end