OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [intrinsic_argument_conformance_1.f90] - Rev 154

Compare with Previous | Blame | View Log

! { dg-do compile }
program main
  real :: av(2), bv(4)
  real :: a(2,2)
  logical :: lo(3,2)
  print *,dot_product(av, bv) ! { dg-error "different shape" }
  print *,pack(a, lo) ! { dg-error "different shape" }
  print *,merge(av, bv, lo(1,:)) ! { dg-error "different shape" }
  print *,matmul(bv,a) ! { dg-error "different shape" }
end program main

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.