OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

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

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 "-std=f95 -pedantic -Wall -Wno-intrinsics-std" }
3
!
4
! Check that SELECTED_CHAR_KIND is rejected with -std=f95
5
!
6
  implicit none
7
  character(kind=selected_char_kind("ascii")) :: s ! { dg-error "has no IMPLICIT type" }
8
  s = "" ! { dg-error "has no IMPLICIT type" }
9
  print *, s
10
end

powered by: WebSVN 2.1.0

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