I think this is related to Using module variables as dimensions in function arguments. In your example you are using a module variable to define array size in an interface. It’s allowed for regular subroutines, so I am guessing it is allowed in an interface too.
certik
2
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Two interfaces pointing to a same `submodule` procedure | 4 | 410 | April 15, 2024 | |
| Using module variables as dimensions in function arguments | 24 | 1462 | March 26, 2024 | |
| Correct program? | 32 | 906 | April 8, 2026 | |
| Arguments check : caller / callee | 19 | 1188 | September 24, 2023 | |
| New regression with submodules in Ifort 21.7 | 1 | 471 | November 9, 2022 |