libiberty: Fix comment typos
[official-gcc.git] / gcc / testsuite / gfortran.dg / intent_decl_1.f90
blobaf848b8f755567b2320e8a29c25517bd47d6943a
1 ! { dg-do compile }
3 ! PR 85088: improve diagnostic for bad INTENT declaration
5 ! Contributed by Janus Weil <janus@gcc.gnu.org>
7 subroutine s(x, y, z)
8 integer, intent(int) :: x ! { dg-error "Bad INTENT specification" }
9 integer, intent :: y ! { dg-error "Bad INTENT specification" }
10 integer, inten :: z ! { dg-error "Invalid character" }
11 end