Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/pr78278.f90 @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | 84e7813d76e9 |
children |
line wrap: on
line source
! { dg-do compile } ! { dg-options "-std=f95" } ! PR fortran/78278 program p character, pointer :: x => null() data x /null()/ ! { dg-error "GNU Extension: re-initialization" } print *, associated(x) end subroutine foo real :: x = 42 data x /0/ ! { dg-error "GNU Extension: re-initialization" } print *, x end subroutine foo