2018-11-01 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/46020
* gfortran.dg/bind_c_usage_7.f90: Adjust error message.
* gfortran.dg/bind_c_usage_32.f90: New test.
From-SVN: r265716
+2018-11-01 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR fortran/46020
+ * gfortran.dg/bind_c_usage_7.f90: Adjust error message.
+ * gfortran.dg/bind_c_usage_32.f90: New test.
+
2018-11-01 Nathan Sidwell <nathan@acm.org>
* g++.dg/abi/anon5.C: New.
integer(c_int) :: bar(5)
end function bar
- function my_string_func() bind(c) ! { dg-error "cannot be a character string" }
+ function my_string_func() bind(c) ! { dg-error "must have length 1" }
character(kind=c_char, len=10) :: my_string_func
my_string_func = 'my_string' // C_NULL_CHAR
end function my_string_func