Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gfortran.dg/spellcheck-parameter.f90 @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 ! { dg-do compile } |
2 ! Contributed by Joost VandeVondele | |
3 ! test levenshtein based spelling suggestions for keyword arguments | |
4 | |
5 module test | |
6 contains | |
7 subroutine mysub(iarg1) | |
8 integer :: iarg1 | |
9 end subroutine | |
10 end module | |
11 | |
12 use test | |
13 call mysub(iarg=1) ! { dg-error "Keyword argument .iarg. at .1. is not in the procedure; did you mean .iarg1.\\?" } | |
14 | |
15 end |