[flang-commits] [PATCH] D128957: [flang] Add semantics test for coshape() function

Katherine Rasmussen via Phabricator via flang-commits flang-commits at lists.llvm.org
Tue Jul 5 11:49:31 PDT 2022


ktras added a comment.

Test looks great, but I suggest adding to the error section by adding an attempt to assign the result of a correct `coshape()` call to a variable of type `character`, as there is no automatic conversion upon assignment between `character` and `integer` (which is of course the correct type of the returned value).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D128957/new/

https://reviews.llvm.org/D128957



More information about the flang-commits mailing list