summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/pr16433.f
blob: 4a11881f62f6c022fb9ff7fb6e30caaba19061ff (plain)
1
2
3
4
5
6
! { dg-do-compile }
      real x
      double precision dx
      x = x'2ffde' ! { dg-warning "exadecimal constant" "Hex constant can't begin with x" }
      dx = x  ! { dg-bogus "exadecimal constant" "Hex constant where there is none" }
      end