2 ! { dg-options "-fdec-structure" }
4 ! Basic compile tests for what CAN be done with dot ('.') as a member accessor.
7 logical :: l
, l2
= .true
., l3
= .false
., and
21 l
= l
.and
. l2
.or
. l3
22 l
= and
.and
. and
.and
. and
29 l
= .not
. (r1
.i
.eq
. 0)
30 l
= .not
. (0 .eq
. r1
.i
)
32 l
= .not
. (s
.eq
. "hello")
33 l
= .not
. ("hello" .eq
. s
)
34 l
= .not
. (r1
.s
.eq
. "hello")
35 l
= .not
. ("hello" .eq
. r1
.s
)
37 l
= .not
. (r
.eq
. 3.14)
38 l
= .not
. (3.14 .eq
. r
)
39 l
= .not
. (r1
.r
.eq
. 3.14)
40 l
= .not
. (3.14 .eq
. r1
.r
)