IMPLICIT NONE TYPE t END TYPE t TYPE(t), PARAMETER :: array(0) = [t::] END
>ifort "2014-08-27 ZeroLength.f90" Intel(R) Visual Fortran Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 15.0.0.108 Build 20140726 Copyright (C) 1985-2014 Intel Corporation. All rights reserved. 2014-08-27 ZeroLength.f90(4): error #5082: Syntax error, found '::' when expecting one of: , (/ : ] TYPE(t), PARAMETER :: array(0) = [t::] -------------------------------------^ 2014-08-27 ZeroLength.f90(4): error #6592: This symbol must be a defined parameter, an enumerator, or an argument of an inquiry function that evaluates to a compile-time constant. [T] TYPE(t), PARAMETER :: array(0) = [t::] ------------------------------------^ compilation aborted for 2014-08-27 ZeroLength.f90 (code 1)
:(