annotate gcc/testsuite/gfortran.dg/achar_3.f90 @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
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