PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gfortran.dg / achar_3.f90
blobb33bfd11d97f7e678295db204cdcc079e36d353f
1 ! { dg-do compile }
2 ! { dg-options "-Wall" }
3 program main
4 print *,achar(-3) ! { dg-error "negative" }
5 print *,achar(200) ! { dg-warning "outside of range" }
6 print *,char(222+221) ! { dg-error "too large for the collating sequence" }
7 print *,char(-44) ! { dg-error "negative" }
8 print *,iachar("ΓΌ") ! { dg-warning "outside of range" }
9 end program main