Merged trunk at revision 161680 into branch.
[official-gcc.git] / gcc / testsuite / gfortran.dg / selected_real_kind_3.f90
blobd24d877acfe1cc7c90d5d2678a7fe503e6068367
1 ! { dg-do compile }
2 ! { dg-options "-std=f2003" }
4 print *, selected_real_kind(p=precision(0.0),radix=2) ! { dg-error "Fortran 2008" }
5 print *, selected_real_kind() ! { dg-error "neither 'P' nor 'R' argument" }
6 end