URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [conflicts.f90] - Rev 801
Go to most recent revision | Compare with Previous | Blame | View Log
! { dg-do compile }! Check for conflicts! PR fortran/29657function f1() ! { dg-error "PROCEDURE attribute conflicts with SAVE attribute" }implicit nonereal, save :: f1f1 = 1.0end function f1function f2() ! { dg-error "PROCEDURE attribute conflicts with SAVE attribute" }implicit nonereal :: f2save f2f2 = 1.0end function f2subroutine f3()implicit nonedimension f3(3) ! { dg-error "SUBROUTINE attribute conflicts with DIMENSION attribute" }end subroutine f3subroutine f4(b)implicit nonereal :: bentry b ! { dg-error "DUMMY attribute conflicts with ENTRY attribute" }end subroutine f4function f5(a)implicit nonereal :: a,f5entry a ! { dg-error "DUMMY attribute conflicts with ENTRY attribute" }f5 = 3.4end function f5subroutine f6(cos)implicit nonereal :: cosintrinsic cos ! { dg-error "DUMMY attribute conflicts with INTRINSIC attribute" }end subroutine f6subroutine f7(sin)implicit nonereal :: sinexternal sinend subroutine f7program testimplicit nonedimension test(3) ! { dg-error "PROGRAM attribute conflicts with DIMENSION attribute" }end program test
Go to most recent revision | Compare with Previous | Blame | View Log
