summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/parameter_unused.f90
blob: 86d50851a133ac982e6dc3fb7fa345096b512202 (plain)
1
2
3
4
5
6
7
8
9
! { dg-do compile }
! { dg-options "-Wunused-parameter" }
!
! PR fortran/31129 - No warning on unused parameters
!
program fred
integer,parameter :: j = 9     ! { dg-warning "Unused parameter" }
end