[flang] Fix for flang-compiler/f18#694 - Unexpected error when compiling submodule

Incorporated all review comments and updated the test case.

Change-Id: I03939bfc705cc5319a0b7da3305026b8403b8edc

Original-commit: flang-compiler/f18@5c602bfbc7
Reviewed-on: https://github.com/flang-compiler/f18/pull/817
This commit is contained in:
kiranktp 2019-11-07 15:17:57 +05:30
parent e572117f8b
commit 17332e283e
2 changed files with 2 additions and 3 deletions

View file

@ -215,7 +215,6 @@ set(SYMBOL_TESTS
kinds01.f90
kinds03.f90
procinterface01.f90
separate_module_procs_1.f90
)
# These test files have expected .mod file contents in the source

View file

@ -1,10 +1,10 @@
!===-- separate-module-procs-2.f90 - Test separate module procedure ---------===
!===--- separate-module-procs.f90 - Test separate module procedure ---------===
!
! Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
! See https://llvm.org/LICENSE.txt for license information.
! SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
!
!===-------------------------------------------------------------------------===
!===------------------------------------------------------------------------===
! case 1: ma_create_new_fun' was not declared a separate module procedure
module m1