Skip to content
Snippets Groups Projects
Commit 1e863adf authored by Tobias Schlüter's avatar Tobias Schlüter
Browse files

re PR fortran/20897 (derived type name shall not be same as intrinsic type name)

PR fortran/20897
fortran/
* decl.c (gfc_match_derived_decl): Reliably reject
'doubleprecision' and 'doublecomplex' as type names.
testsuite/
* gfortran.dg/derived_name_1.f90: New.
* gfortran.dg/derived_name_2.f: New.

From-SVN: r123129
parent 8766652c
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment