URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [g77/] [19990218-0.f] - Rev 801
Go to most recent revision | Compare with Previous | Blame | View Log
c { dg-do compile } program test double precision a,b,c data a,b/1.0d-46,1.0d0/ c=fun(a,b) ! { dg-error "Return type mismatch of function" } print*,'in main: fun=',c end double precision function fun(a,b) double precision a,b print*,'in sub: a,b=',a,b fun=a*b print*,'in sub: fun=',fun return end
Go to most recent revision | Compare with Previous | Blame | View Log