gcc/testsuite/gfortran.dg/dot_product_3.f90
raw| 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 |
| 7 | |
| 8 | implicit none |
| 9 | |
| 10 | write(output_unit, *) dot_product([1, 2], [2.0, 3.0]) |
| 11 | |
| 12 | stop |
| 13 | end program main |
| 14 | ! { dg-final { scan-tree-dump-times "8\\.0e\\+0" 1 "original" } } |