2 ! { dg-options "-Waliasing" }
6 ! Added check for OUT/OUT. IN/OUT and OUT/IN where already check
7 ! since GCC 4.0, but not being tested for.
12 Call test1(x
, x
) ! { dg-warning "Same actual argument associated with INTENT.OUT. argument 'a' and INTENT.OUT. argument 'b'" }
13 Call test2(x
, x
) ! { dg-warning "Same actual argument associated with INTENT.IN. argument 'a' and INTENT.OUT. argument 'b'" }
14 Call test3(x
, x
) ! { dg-warning "Same actual argument associated with INTENT.OUT. argument 'a' and INTENT.IN. argument 'b'" }
17 Integer, intent(out
) :: a
18 Integer, intent(out
) :: b
23 Integer, intent(in
) :: a
24 Integer, intent(out
) :: b
28 Integer, intent(out
) :: a
29 Integer, intent(in
) :: b