re PR fortran/66707 (Endless compilation on wrong usage of common)
2016-01-30 Dominique d'Humieres <dominiq@lps.ens.fr> PR fortran/66707 gfortran.dg/common_23.f90: New test. From-SVN: r233008
This commit is contained in:
parent
52d72fcd1d
commit
d6c3a53920
@ -1,3 +1,8 @@
|
||||
2016-01-30 Dominique d'Humieres <dominiq@lps.ens.fr>
|
||||
|
||||
PR fortran/66707
|
||||
gfortran.dg/common_23.f90: New test.
|
||||
|
||||
2016-01-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
|
||||
|
||||
PR target/65546
|
||||
|
10
gcc/testsuite/gfortran.dg/common_23.f90
Normal file
10
gcc/testsuite/gfortran.dg/common_23.f90
Normal file
@ -0,0 +1,10 @@
|
||||
! { dg-do compile }
|
||||
!
|
||||
! PR fortran/66707
|
||||
! Check the compilation on wrong usage of common
|
||||
! Contributed by Gerhard Steinmetz <gerhard.steinmetz.fortran@t-online.de>
|
||||
program p
|
||||
integer, pointer :: a
|
||||
common a, a ! { dg-error "is already in a COMMON block" }
|
||||
common a
|
||||
end
|
Loading…
Reference in New Issue
Block a user