re PR fortran/68534 (No error on mismatch in number of arguments between submodule...
authorPaul Thomas <pault@gcc.gnu.org>
Mon, 30 Nov 2015 13:33:27 +0000 (13:33 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Mon, 30 Nov 2015 13:33:27 +0000 (13:33 +0000)
commit0ef5fbc1f4b4e34e4b084f5b59b0885bfa3300fb
tree2b2cbae4d77a9f7243f7234671539d7495c7eb42
parent02718b323ba585f41a34e4202c9ca5ba1b3aa321
re PR fortran/68534 (No error on mismatch in number of arguments between submodule and module interface)

2015-11-30  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/68534
* decl.c (gfc_match_formal_arglist): Cope with zero formal args
either in interface declaration or in procedure declaration in
submodule.

2015-11-30  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/68534
* gfortran.dg/submodule_13.f08: New test.

From-SVN: r231072
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/submodule_13.f08 [new file with mode: 0644]