[J3] type definitions
Vipul Parekh
parekhvs at gmail.com
Thu Aug 11 02:51:46 UTC 2022
On Wed, Aug 10, 2022 at 6:28 PM Robert Corbett via J3 <
j3 at mailman.j3-fortran.org> wrote:
> Is the program
>
> PROGRAM MAIN
> TYPE T
> REAL(KIND=KIND(X)) Y
> END TYPE T
> END
>
> standard conformant?
>
> What about the program
>
> PROGRAM MAIN
> DOUBLE PRECISION X
> TYPE T
> REAL(KIND=KIND(X)) X
> END TYPE T
> END
>
Hi Bob,
For whatever it's worth, I think both the programs conform for I am unable
to place any text in the standard that would indicate to me these two
programs do not conform. Besides, two processors I tried did not detect
any nonconformance.
Whenever you're ready, you can post the text you think is missing!
Regards,
Vipul Parekh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.j3-fortran.org/pipermail/j3/attachments/20220810/041e4ed9/attachment-0001.htm>
More information about the J3
mailing list