URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [volatile2.f90] - Rev 694
Compare with Previous | Blame | View Log
! { dg-do compile }! { dg-shouldfail "VOLATILE not part of F95" }! { dg-options "-std=f95" }! Test whether volatile statements and attributes are rejected! with -std=f95.! PR fortran/29601program volatile_testimplicit nonereal, volatile :: foo ! { dg-error "VOLATILE attribute" }real :: lvolatile :: l ! { dg-error "VOLATILE statement" }l = 4.0foo = 3.0 ! { dg-error "no IMPLICIT type" }end program volatile_test
