OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [save_result.f90] - Blame information for rev 302

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 302 jeremybenn
! { dg-do compile }
2
! PR20856 - A function result may not have SAVE attribute.
3
! Contributed by Joost VandeVondele 
4
FUNCTION X() RESULT(Y)
5
REAL, SAVE :: Y ! { dg-error "RESULT attribute conflicts with SAVE" }
6
y = 1
7
END FUNCTION X
8
END

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.