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

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [gfortran.dg/] [binding_c_table_15_1.f03] - Blame information for rev 437

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

Line No. Rev Author Line
1 302 jeremybenn
! { dg-do run }
2
! Test the named constants in Table 15.1.
3
program a
4
  use, intrinsic :: iso_c_binding
5
  implicit none
6
  if (C_NULL_CHAR       /=  CHAR(0) ) call abort
7
  if (C_ALERT           /= ACHAR(7) ) call abort
8
  if (C_BACKSPACE       /= ACHAR(8) ) call abort
9
  if (C_FORM_FEED       /= ACHAR(12)) call abort
10
  if (C_NEW_LINE        /= ACHAR(10)) call abort
11
  if (C_CARRIAGE_RETURN /= ACHAR(13)) call abort
12
  if (C_HORIZONTAL_TAB  /= ACHAR(9) ) call abort
13
  if (C_VERTICAL_TAB    /= ACHAR(11)) call abort
14
end program a

powered by: WebSVN 2.1.0

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