Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/pr71935.f90 @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
! { dg-do compile } program p use iso_c_binding character(len=1, kind=c_char), parameter :: z(2) = 'z' print *, sizeof(z(3)) ! { dg-warning "is out of bounds" } print *, c_sizeof(z(3)) ! { dg-warning "is out of bounds" } end