2 ! { dg-options "-std=f95" }
3 ! Check for notify-std-messages when F2003 structure constructors are compiled
9 ! Basic type with default initializers
15 TYPE(basics_t
) :: basics
18 basics
= basics_t (1, 2.)
20 ! No argument naming in F95
21 basics
= basics_t (1, r
= 4.2) ! { dg-error "Fortran 2003" }
23 ! No optional arguments in F95
24 basics
= basics_t () ! { dg-error "Fortran 2003" }
25 basics
= basics_t (5) ! { dg-error "Fortran 2003" }