annotate gcc/testsuite/gfortran.dg/achar_3.f90 @ 132:d34655255c78

update gcc-8.2
author mir3636
date Thu, 25 Oct 2018 10:21:07 +0900
parents 04ced10e8804
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 ! { dg-do compile }
kono
parents:
diff changeset
2 ! { dg-options "-Wall" }
kono
parents:
diff changeset
3 program main
kono
parents:
diff changeset
4 print *,achar(-3) ! { dg-error "negative" }
kono
parents:
diff changeset
5 print *,achar(200) ! { dg-warning "outside of range" }
kono
parents:
diff changeset
6 print *,char(222+221) ! { dg-error "too large for the collating sequence" }
kono
parents:
diff changeset
7 print *,char(-44) ! { dg-error "negative" }
kono
parents:
diff changeset
8 print *,iachar("ü") ! { dg-warning "outside of range" }
kono
parents:
diff changeset
9 end program main