OSDN Git Service

2011-09-26 Janus Weil <janus@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gfortran.dg / func_result_4.f90
1 ! { dg-do compile }
2 ! { dg-options "-c" }
3 !
4 ! Do not apply the SAVE attribute to function results.
5 !
6 FUNCTION f() RESULT (g)
7   INTEGER :: g
8   SAVE
9   g = 42
10 END FUNCTION