Given the following program:
program testg0
implicit none
character(*), parameter :: cfmt = '(*(g0,1x))'
integer :: i,j,k
i=2; j=3; k=i*j
print cfmt,i,j,k
end program testg0
the compiler says:
S:\>ftn95 /check tg0.f90 /link
[FTN95/Win32 Ver. 9.14.0 Copyright (c) Silverfrost Ltd 1993-2025]
ERROR S:\tg0.F90 6: Unknown edit descriptor '*', or missing comma
1 ERROR [<TESTG0> FTN95 v9.14.0]
*** Compilation failed
GFortran 11.4 accepts the code, and running the program produces the output
2 3 6