| Issue |
83157
|
| Summary |
[Flang] Extension: allow procedure declaration statement to specify return type when a type declaration statement also declares the type for the same entity.
|
| Labels |
flang:frontend
|
| Assignees |
|
| Reporter |
DanielCChen
|
```
real :: proc
procedure(real) :: proc
end
```
Flang currently issues an error
```
error: The type of 'proc' has already been declared
procedure(real) :: proc
^^^^
./t1.f:2:20: Declaration of 'proc'
procedure(real) :: proc
^^^^
```
Both XLF and ifort accept this. This can be a extension candidate.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs