summaryrefslogtreecommitdiffstats
path: root/gcc
diff options
context:
space:
mode:
authortobi <tobi@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-11 15:21:51 +0000
committertobi <tobi@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-11 15:21:51 +0000
commitdcb0b57848773251e82fdb470ea4b623d70da22c (patch)
tree6f7dd950e3da36d953a298373a8ab9976704dcb8 /gcc
parente68d273c56a00edd4e6a7ca0b1a39989dafb25cb (diff)
downloadppe42-gcc-dcb0b57848773251e82fdb470ea4b623d70da22c.tar.gz
ppe42-gcc-dcb0b57848773251e82fdb470ea4b623d70da22c.zip
PR fortran/16433
* gfortran.dg/pr16433.f: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84515 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gfortran.dg/pr16433.f6
2 files changed, 11 insertions, 0 deletions
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 <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 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
OpenPOWER on IntegriCloud