Issue |
126592
|
Summary |
[Flang] Missing diagnostic on submodule name being the same as its extended module name
|
Labels |
flang:frontend
|
Assignees |
|
Reporter |
DanielCChen
|
Consider the following code
```
module m
end
submodule(m) m
end
```
Flang compiles the code successfully.
Both module name and submodule name are global identifiers. They shall not be the same.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs