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
coarray_41.f90: Add "-latomic" option if libatomic_available.
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
warn_unused_dummy_argument_1.f90
blob
66b0f1a58335fb854fc4cb12cf08d8c33b038d51
1
! { dg-do compile }
2
! { dg-options "-Wall" }
3
!
4
! PR fortran/38407
5
!
6
7
SUBROUTINE
s
(
dummy
)
! { dg-warning "Unused dummy" }
8
INTEGER
,
INTENT
(
in
) ::
dummy
9
INTEGER
::
variable
! { dg-warning "Unused variable" }
10
END SUBROUTINE