-
Notifications
You must be signed in to change notification settings - Fork 595
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes PR#209.
- Loading branch information
Showing
4 changed files
with
30 additions
and
1 deletion.
There are no files selected for viewing
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
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
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,20 @@ | ||
module with_associate | ||
real :: a | ||
|
||
contains | ||
|
||
function do_stuff(a) result(c) | ||
real, intent(in) :: a | ||
|
||
associate (b => a) | ||
c = b | ||
end associate | ||
end function do_stuff | ||
|
||
subroutine do_other_stuff(a) | ||
real, intent(in out) :: a | ||
|
||
a = 2 * a | ||
end subroutine do_other_stuff | ||
|
||
end module with_associate |
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,5 @@ | ||
# format=tagmanager | ||
a�16384�with_associate�0 | ||
do_other_stuff�64�with_associate�0 | ||
do_stuff�16�with_associate�0 | ||
with_associate�256�0 |