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:
Dominique d'Humieres 2016-01-30 15:07:19 +01:00 committed by Dominique d'Humieres
parent 52d72fcd1d
commit d6c3a53920
2 changed files with 15 additions and 0 deletions

View File

@ -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

View 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