coarray_41.f90: Add "-latomic" option if libatomic_available.
[official-gcc.git] / gcc / testsuite / gfortran.dg / dot_product_3.f90
blobc5650479948e68e938be3194cece180d84251f80
1 ! { dg-do compile }
2 ! { dg-options "-fdump-tree-original" }
3 ! PR 61999 - this used to ICE.
4 ! Original test case by A. Kasahara
5 program main
6 use, intrinsic:: iso_fortran_env, only: output_unit
8 implicit none
10 write(output_unit, *) dot_product([1, 2], [2.0, 3.0])
12 stop
13 end program main
14 ! { dg-final { scan-tree-dump-times "8\\.0e\\+0" 1 "original" } }