Add rename-hop graph fixtures
- SHA
1a0425261390d8f68ccdc0c903b90ebd45bb30bf- Parents
-
c4938a8 - Tree
7ed0099
1a04252
1a0425261390d8f68ccdc0c903b90ebd45bb30bfc4938a8
7ed0099fixtures/README.mdmodified@@ -28,4 +28,4 @@ Sprint 7 begins carving authored module graphs into `fixtures/modules/` so the | ||
| 28 | 28 | bench can model ordered multi-file inputs instead of only isolated sources. |
| 29 | 29 | That corpus now covers module-use chains, renaming, module procedures, and an |
| 30 | 30 | early submodule probe, plus visibility, fan-in, re-export, and diamond-style |
| 31 | -dependency graph families. | |
| 31 | +dependency graph families, along with rename-across-hop export-surface probes. | |
fixtures/modules/rename_hops/base_values.f90added@@ -0,0 +1,4 @@ | ||
| 1 | +module base_values | |
| 2 | + implicit none | |
| 3 | + integer, parameter :: payload = 14 | |
| 4 | +end module base_values | |
fixtures/modules/rename_hops/bridge_aliases.f90added@@ -0,0 +1,4 @@ | ||
| 1 | +module bridge_aliases | |
| 2 | + use base_values, only: lifted => payload | |
| 3 | + implicit none | |
| 4 | +end module bridge_aliases | |
fixtures/modules/rename_hops/main_alias.f90added@@ -0,0 +1,7 @@ | ||
| 1 | +! CHECK: 14 | |
| 2 | +program main | |
| 3 | + use bridge_aliases, only: chosen => lifted | |
| 4 | + implicit none | |
| 5 | + | |
| 6 | + print *, chosen | |
| 7 | +end program main | |
fixtures/modules/rename_hops/main_payload.f90added@@ -0,0 +1,6 @@ | ||
| 1 | +program main | |
| 2 | + use bridge_aliases, only: payload | |
| 3 | + implicit none | |
| 4 | + | |
| 5 | + print *, payload | |
| 6 | +end program main | |