repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[AArch64] Merge stores of D-register values with different modes
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
submodule_21.f08
blob
c96acb2e8564bbb875968d8575d72b18679e5443
1
! { dg-do compile }
2
!
3
! Test the fix for PR78331.
4
!
5
! Reported on https://groups.google.com/forum/#!topic/comp.lang.fortran/NFCF9brKksg
6
!
7
MODULE MainModule
8
END MODULE MainModule
9
10
SUBMODULE (MainModule) MySub1
11
IMPLICIT NONE
12
INTEGER, PARAMETER :: a = 17
13
END SUBMODULE MySub1
14
15
PROGRAM MyProg
16
USE MainModule
17
WRITE(*,*) a
18
END PROGRAM MyProg
19
! { dg-excess-errors "does not contain a MODULE PROCEDURE" }