-
-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
102 additions
and
0 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
tests/examples/languages/fortran/fpm-build-and-run/app/main.f90
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
program main | ||
use hello_world, only: say_hello | ||
implicit none | ||
|
||
call say_hello() | ||
end program main |
18 changes: 18 additions & 0 deletions
18
tests/examples/languages/fortran/fpm-build-and-run/fpm.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name = "hello_world" | ||
version = "0.1.0" | ||
license = "license" | ||
author = "potato" | ||
maintainer = "[email protected]" | ||
copyright = "Copyright 2024, potato" | ||
[build] | ||
auto-executables = true | ||
auto-tests = true | ||
auto-examples = true | ||
module-naming = false | ||
[install] | ||
library = false | ||
[fortran] | ||
implicit-typing = false | ||
implicit-external = false | ||
source-form = "free" | ||
|
10 changes: 10 additions & 0 deletions
10
tests/examples/languages/fortran/fpm-build-and-run/src/hello_world.f90
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
module hello_world | ||
implicit none | ||
private | ||
|
||
public :: say_hello | ||
contains | ||
subroutine say_hello | ||
print *, "Hello, hello_world!" | ||
end subroutine say_hello | ||
end module hello_world |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
program main | ||
use hello_world, only: say_hello | ||
implicit none | ||
|
||
call say_hello() | ||
end program main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name = "hello_world" | ||
version = "0.1.0" | ||
license = "license" | ||
author = "potato" | ||
maintainer = "[email protected]" | ||
copyright = "Copyright 2024, potato" | ||
[build] | ||
auto-executables = true | ||
auto-tests = true | ||
auto-examples = true | ||
module-naming = false | ||
[install] | ||
library = false | ||
[fortran] | ||
implicit-typing = false | ||
implicit-external = false | ||
source-form = "free" | ||
|
10 changes: 10 additions & 0 deletions
10
tests/examples/languages/fortran/fpm-build/src/hello_world.f90
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
module hello_world | ||
implicit none | ||
private | ||
|
||
public :: say_hello | ||
contains | ||
subroutine say_hello | ||
print *, "Hello, hello_world!" | ||
end subroutine say_hello | ||
end module hello_world |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
program main | ||
use hello_world, only: say_hello | ||
implicit none | ||
|
||
call say_hello() | ||
end program main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name = "hello_world" | ||
version = "0.1.0" | ||
license = "license" | ||
author = "potato" | ||
maintainer = "[email protected]" | ||
copyright = "Copyright 2024, potato" | ||
[build] | ||
auto-executables = true | ||
auto-tests = true | ||
auto-examples = true | ||
module-naming = false | ||
[install] | ||
library = false | ||
[fortran] | ||
implicit-typing = false | ||
implicit-external = false | ||
source-form = "free" | ||
|
10 changes: 10 additions & 0 deletions
10
tests/examples/languages/fortran/fpm-run/src/hello_world.f90
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
module hello_world | ||
implicit none | ||
private | ||
|
||
public :: say_hello | ||
contains | ||
subroutine say_hello | ||
print *, "Hello, hello_world!" | ||
end subroutine say_hello | ||
end module hello_world |