2 ! { dg-options "-std=f2003" }
4 ! NULL() actual argument to non-pointer dummies
7 call f(null()) ! { dg-error "Fortran 2008: Null pointer at .1. to non-pointer dummy" }
8 call g(null()) ! { dg-error "Unexpected NULL.. intrinsic at .1. to dummy" }
9 call h(null()) ! { dg-error "Unexpected NULL.. intrinsic at .1. to dummy" }
12 integer, optional
:: x
15 integer, optional
, allocatable
:: x