2 ! { dg-options "-fcheck=all -std=f2003 -fall-intrinsics" }
3 ! { dg-shouldfail "Pointer actual argument 'ptr' is not associated" }
7 ! Valid F2008, invalid F95/F2003.
9 integer,pointer :: ptr
=> null()
13 integer, optional
:: x
14 if (present (x
)) call abort ()