New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
m1.f90 in vendors/t/fcm-make/02-build-ext-iface/src – NEMO

source: vendors/t/fcm-make/02-build-ext-iface/src/m1.f90 @ 10669

Last change on this file since 10669 was 10669, checked in by nicolasmartin, 5 years ago

Import latest FCM release from Github into the repository for testing

File size: 498 bytes
Line 
1! A module with nonsense
2module bar
3type food
4integer :: cooking_method
5end type food
6type organic
7integer :: growing_method
8end type organic
9integer, parameter :: i_am_dim = 10
10end module bar
11
12! A module with more nonsense
13module foo
14use bar, only: FOOD
15integer :: foo_int
16contains
17subroutine foo_sub(egg)
18integer, parameter :: egg_dim = 10
19type(Food), intent(in) :: egg
20write(*, *) egg
21end subroutine foo_sub
22elemental function foo_func() result(f)
23integer :: f
24f = 0
25end function
26end module foo
Note: See TracBrowser for help on using the repository browser.