aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 7953aa7..aed54cb 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 58aba2b..a17f5d0 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" } }