URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 302 |
Rev 384 |
! Check that we can write a module file, that it has a correct MD5 sum,
|
! Check that we can write a module file, that it has a correct MD5 sum,
|
! and that we can read it back.
|
! and that we can read it back.
|
!
|
!
|
! { dg-do compile }
|
! { dg-do compile }
|
module foo
|
module foo
|
integer(kind=4), parameter :: pi = 3_4
|
integer(kind=4), parameter :: pi = 3_4
|
end module foo
|
end module foo
|
|
|
program test
|
program test
|
use foo
|
use foo
|
print *, pi
|
print *, pi
|
end program test
|
end program test
|
! { dg-final { scan-module "foo" "MD5:5632bcd379cf023bf7e663e91d52fa12" } }
|
! { dg-final { scan-module "foo" "MD5:5632bcd379cf023bf7e663e91d52fa12" } }
|
! { dg-final { cleanup-modules "foo" } }
|
! { dg-final { cleanup-modules "foo" } }
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.