2013-12-14  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/59502
	* primary.c (gfc_match_varspec): Check for 'class_ok'.


2013-12-14  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/59502
	* gfortran.dg/class_57.f90: New.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205990 138bc75d-0d04-0410-961f-82ee72b054a4