hppa64: Fix fmt_f_default_field_width_3.f90 and fmt_g_default_field_width_3.f90
[official-gcc.git] / gcc / testsuite / gfortran.dg / literal_constants.f
blob4d1f1b7eb4c57ca7be4fd267eb23de39e7343490
1 ! { dg-do compile }
2 ! { dg-options "-ffixed-form" }
3 ! PR fortran/92805 - blanks within literal constants in fixed-form mode
5 implicit none
6 integer, parameter :: ck = kind ("a") ! default character kind
7 integer, parameter :: rk = kind (1.0) ! default real kind
8 print *, 1_"abc"
9 print *, 1 _"abc"
10 print *, 1_ "abc"
11 print *, ck_"a"
12 print *, ck _"ab"
13 print *, ck_ "ab"
14 print *, 3.1415_4
15 print *, 3.1415 _4
16 print *, 3.1415_ 4
17 print *, 3.1415_rk
18 print *, 3.1415 _rk
19 print *, 3.1415_ rk
20 end