OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [achar_3.f90] - Blame information for rev 694

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { 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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.