1! { dg-do compile }
2! { dg-options "-std=f2003" }
3!
4! PR fortran/38282
5!
6implicit none
7integer :: a(2,1)
8
9a(1,1) = 35
10a(2,1) = -74
11
12if (iand(a(1,1),a(2,1)) /= iall(a)) stop 1 ! { dg-error " .iall. at .1. has no IMPLICIT type" }
13
14if (ior(a(1,1),a(2,1)) /= iany(a)) stop 1 ! { dg-error " .iany. at .1. has no IMPLICIT type" }
15
16if (ieor(a(1,1),a(2,1)) /= iparity(a)) stop 1 ! { dg-error " .iparity. at .1. has no IMPLICIT type" }
17
18end
19