Add qdf24xx base tuning support.
[official-gcc.git] / gcc / testsuite / gfortran.dg / proc_ptr_17.f90
blob55b8bce24d9e9965d90e7ccde124951aa9655366
1 ! { dg-do compile }
2 ! { dg-options "-std=f2003" }
4 ! PR39998: Procedure Pointer Assignments: Statement Functions & Internal Functions.
6 ! Contributed by Tobias Burnus <burnus@net-b.de>
8 procedure(), pointer :: p
9 f(x) = x**2 ! { dg-warning "Obsolescent feature" }
10 p => f ! { dg-error "invalid in procedure pointer assignment" }
11 p => sub ! { dg-error "invalid in procedure pointer assignment" }
12 contains
13 subroutine sub
14 end subroutine sub
15 end