Issue |
128755
|
Summary |
[Flang] Missing diagnostic on type-spec with deferred length being used in array constructor
|
Labels |
flang:frontend
|
Assignees |
|
Reporter |
DanielCChen
|
Consider the following code
```
module n
character(:), allocatable :: c1(:)
end module
program deferLenMoveAlloc002
use n
print *, (/ character(:) :: /) !! Incorrect.
allocate ( c1(0), source = (/ character(:) :: /) ). !! Incorrect.
end program
```
Both case should be diagnosed.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs