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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [achar_3.f90] - Blame information for rev 316

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 302 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.