From 0bbf5891c10b86aa602c669d50f1e0ec9455eb56 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tobias=20Schl=C3=BCter?= Date: Sun, 11 Jul 2004 17:21:51 +0200 Subject: [PATCH] re PR fortran/16433 (wrong hexadecimal constant warning) PR fortran/16433 * gfortran.dg/pr16433.f: New test. From-SVN: r84515 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gfortran.dg/pr16433.f | 6 ++++++ 2 files changed, 11 insertions(+) create mode 100644 gcc/testsuite/gfortran.dg/pr16433.f diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 20104dd0da8..b9946339503 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2004-07-11 Tobias Schlueter + + PR fortran/16433 + * gfortran.dg/pr16433.f: New test. + 2004-07-11 Joseph S. Myers PR tree-optimization/16437 diff --git a/gcc/testsuite/gfortran.dg/pr16433.f b/gcc/testsuite/gfortran.dg/pr16433.f new file mode 100644 index 00000000000..4a11881f62f --- /dev/null +++ b/gcc/testsuite/gfortran.dg/pr16433.f @@ -0,0 +1,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 -- 2.30.2