pantry/projects/gnu.org/gcc/test.f90
James Reynolds 7c9df6b99b
gnu.org/gcc add fortran (#1637)
* Add fortran to enabled languages; add test.f90 test file

* Add test.f90

---------

Co-authored-by: James Reynolds <magnsuviri@me.com>
2023-04-22 17:08:02 -04:00

8 lines
148 B
Fortran

integer,parameter::m=10000
real::a(m), b(m)
real::fact=0.5
do concurrent (i=1:m)
a(i) = a(i) + fact*b(i)
end do
write(*,"(A)") "Hello, world!"
end