diff options
author | Tobias Schlüter <tobias.schlueter@physik.uni-muenchen.de> | 2004-07-11 17:21:51 +0200 |
---|---|---|
committer | Tobias Schlüter <tobi@gcc.gnu.org> | 2004-07-11 17:21:51 +0200 |
commit | 0bbf5891c10b86aa602c669d50f1e0ec9455eb56 (patch) | |
tree | 6f7dd950e3da36d953a298373a8ab9976704dcb8 | |
parent | 88199e7c89aa0f9b1c055c2330a0c57945e884e2 (diff) | |
download | gcc-0bbf5891c10b86aa602c669d50f1e0ec9455eb56.zip gcc-0bbf5891c10b86aa602c669d50f1e0ec9455eb56.tar.gz gcc-0bbf5891c10b86aa602c669d50f1e0ec9455eb56.tar.bz2 |
re PR fortran/16433 (wrong hexadecimal constant warning)
PR fortran/16433
* gfortran.dg/pr16433.f: New test.
From-SVN: r84515
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/gfortran.dg/pr16433.f | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 20104dd..b994633 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2004-07-11 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de> + + PR fortran/16433 + * gfortran.dg/pr16433.f: New test. + 2004-07-11 Joseph S. Myers <jsm@polyomino.org.uk> 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 0000000..4a11881 --- /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 |