summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>2008-05-19 14:01:40 +0000
committerfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>2008-05-19 14:01:40 +0000
commitdff52b6b60dc058fb65ee198b295349c82912184 (patch)
tree282eb1ceae11b5e369e671d40d87dcc0d8b90abd
parent51a3211923c4f77c92a377a6c19e6988e4a4722d (diff)
downloadppe42-gcc-dff52b6b60dc058fb65ee198b295349c82912184.tar.gz
ppe42-gcc-dff52b6b60dc058fb65ee198b295349c82912184.zip
* gfortran.dg/bind_c_module.f90: Adjust expected error messages.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135530 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gfortran.dg/bind_c_module.f904
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 7953aa7e028..aed54cb0b9d 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,5 +1,9 @@
2008-05-19 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+ * gfortran.dg/bind_c_module.f90: Adjust expected error messages.
+
+2008-05-19 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
* gfortran.dg/char_cast_1.f90: Adjust count in scanning the tree
dump file.
diff --git a/gcc/testsuite/gfortran.dg/bind_c_module.f90 b/gcc/testsuite/gfortran.dg/bind_c_module.f90
index 58aba2b345b..a17f5d0b34b 100644
--- a/gcc/testsuite/gfortran.dg/bind_c_module.f90
+++ b/gcc/testsuite/gfortran.dg/bind_c_module.f90
@@ -10,13 +10,13 @@ module b
use iso_c_binding
use a
implicit none
- bind(c) :: a ! { dg-error "attribute applied to" }
+ bind(c) :: a ! { dg-error "applied to" }
end module b
! Causes ICE
module d
use a
implicit none
- bind(c) :: a ! { dg-error "attribute applied to" }
+ bind(c) :: a ! { dg-error "applied to" }
end module d
! { dg-final { cleanup-modules "a" } }
OpenPOWER on IntegriCloud