OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [module_md5_1.f90] - Blame information for rev 694

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! Check that we can write a module file, that it has a correct MD5 sum,
2
! and that we can read it back.
3
!
4
! { dg-do compile }
5
module foo
6
  integer(kind=4), parameter :: pi = 3_4
7
end module foo
8
 
9
program test
10
  use foo
11
  print *, pi
12
end program test
13
! { dg-final { scan-module "foo" "MD5:510304affe70481794fecdb22fc9ca0c" } }
14
! { dg-final { cleanup-modules "foo" } }

powered by: WebSVN 2.1.0

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