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