URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [arithmetic_if.f90] - Rev 302
Compare with Previous | Blame | View Log
! { dg-do run }! { dg-options "-w" }! Test program for PR 28439integer function myfunc(i)integer iinteger, save :: value = 2value = value - 1 + 0 * imyfunc = valueend function myfuncprogram pr28439integer myfuncif (myfunc(0)) 10, 20, 30 ! Should go to 3010 call abort20 call abort30 if (myfunc(0)) 40, 50, 60 ! Should go to 5040 call abort60 call abort50 if (myfunc(0)) 70, 80, 90 ! Should go to 7080 call abort90 call abort70 continueend program pr28439
