2014-07-12 Paul Thomas <pault@gcc.gnu.org>
[official-gcc.git] / gcc / testsuite / gfortran.dg / stfunc_7.f90
blob1e116462525aad9995b588953c0139535c03e834
1 ! { dg-do compile }
2 ! { dg-options "-std=legacy" }
4 ! PR 50553: statement function cannot be target (r178939)
6 ! Contributed by Vittorio Zecca <zeccav@gmail.com>
8 f(x)=x
9 target f ! { dg-error "attribute conflicts with" }
10 end