☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gfortran.dg
/
stfunc_7.f90
☽
☼
gcc/testsuite/gfortran.dg/stfunc_7.f90
code
plain
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