3 integer (kind
= 4) :: a
7 integer, dimension (10) :: e
23 e
= 1 ! { dg-error "must set a scalar variable" }
25 a
= a
** 8 ! { dg-error "assignment operator must be" }
27 b
= b
+ 3 + b
! { dg-error "cannot reference" }
29 c
= c
- f
+ 1 ! { dg-error "not mathematically equivalent to" }
31 a
= ishft (a
, 1) ! { dg-error "assignment intrinsic must be" }
33 c
= min (c
, 2.1, c
) ! { dg-error "intrinsic arguments except one" }
35 a
= max (b
, e(1)) ! { dg-error "intrinsic argument must be 'a'" }
37 d
= 12 ! { dg-error "assignment must have an operator" }
38 end subroutine test_atomic