repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
coarray_41.f90: Add "-latomic" option if libatomic_available.
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
fmt_read_2.f90
blob
316f737b621eb5797aff6fa313dd3242719b469a
1
! { dg-do compile }
2
! PR fortran/32483
3
implicit none
4
integer
::
r
5
real
::
a
6
write
(*,
'(i0)'
)
r
7
read
(*,
'(i0)'
)
r
! { dg-error "Positive width required" }
8
read
(*,
'(f0.2)'
)
a
! { dg-error "Positive width required" }
9
print
*,
r
,
a
10
END