Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/pr95053_3.f90 @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 2b5abeee2509 |
children |
line wrap: on
line source
! { dg-do compile } ! Related to PR 93499 - this used to ICE. program p type t(n) integer, kind :: n end type t type u(n) integer, len :: n end type u type(t((0)/0)) :: x ! { dg-error "does not simplify to an INTEGER" } type(t((0.)/0)) :: y ! { dg-error "must be of INTEGER type" } type(u(0/(0.))) :: z ! { dg-error "must be of INTEGER type" } end