Issue 138926
Summary [flang] Missing diagnostic on `SIZE(assumed-size)` without DIM argument.
Labels flang:frontend
Assignees
Reporter DanielCChen
    Consider the following code:
```
subroutine sub(arg)
  class(*) :: arg(*)
  select type(arg)
    type is(real)
      print*, size(arg)
  end select
end
```

`arg` is assumed-size dummy array. It should be diagnosed that the call to intrinsic `SIZE` should require the `DIM` argument.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to