OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

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

Go to most recent revision | 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

Go to most recent revision | 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.