coarray_41.f90: Add "-latomic" option if libatomic_available.
[official-gcc.git] / gcc / testsuite / gfortran.dg / gomp / pr66633.f90
blob60e47b3943af6f432052dbdeba301b690327d415
1 ! PR middle-end/66633
2 ! Testcase by Andrew Benson <abensonca@gmail.com>
4 ! { dg-do compile }
5 ! { dg-options "-O0 -fopenmp" }
7 module spls
8 contains
9 function spl()
10 !$omp parallel
11 write (0,*) igrt(fli)
12 !$omp end parallel
13 contains
14 double precision function fli()
15 end function fli
16 end function spl
17 end module spls