aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/pr68318_1.f90
blob: 1a3d59402f67f93870c01ada51af58597f1949cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
! { dg-do compile }
! { dg-options "-O0"
! PR fortran/68318
! Original code submitted by Gerhard Steinmetz
! <gerhard dot steinmetz dot fortran at t-online dot de>
!
module m
   implicit none
contains
   subroutine s1
   entry e        ! { dg-error "(2)" }
   end
   subroutine s2
   entry e        ! { dg-error "is already defined" }
   end
end module
! { dg-prune-output "Duplicate ENTRY attribute specified" }