ieee_9.f90: XFAIL on arm*-*-gnueabi[hf].
[official-gcc.git] / gcc / testsuite / gfortran.dg / binding_c_table_15_1.f03
blob30ad436559cd2d201d5ac068611306573bf47d9a
1 ! { 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) ) STOP 1
7   if (C_ALERT           /= ACHAR(7) ) STOP 2
8   if (C_BACKSPACE       /= ACHAR(8) ) STOP 3
9   if (C_FORM_FEED       /= ACHAR(12)) STOP 4
10   if (C_NEW_LINE        /= ACHAR(10)) STOP 5
11   if (C_CARRIAGE_RETURN /= ACHAR(13)) STOP 6
12   if (C_HORIZONTAL_TAB  /= ACHAR(9) ) STOP 7
13   if (C_VERTICAL_TAB    /= ACHAR(11)) STOP 8
14 end program a