3 ! Error checking for the intrinsic functions SAME_TYPE_AS and EXTENDS_TYPE_OF.
5 ! Contributed by Janus Weil <janus@gcc.gnu.org>
21 print *, SAME_TYPE_AS (i,x1) ! { dg-error "cannot be of type INTEGER" }
22 print *, SAME_TYPE_AS (x1,x2) ! { dg-error "must be of an extensible type" }
24 print *, EXTENDS_TYPE_OF (i,x1) ! { dg-error "cannot be of type INTEGER" }
25 print *, EXTENDS_TYPE_OF (x1,x2) ! { dg-error "must be of an extensible type" }