2018-11-01 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/46020
* gfortran.dg/bind_c_18.f90: Adjust error message.
From-SVN: r265727
+2018-11-01 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR fortran/46020
+ * gfortran.dg/bind_c_18.f90: Adjust error message.
+
2018-11-01 Marek Polacek <polacek@redhat.com>
* g++.dg/cpp1z/constexpr-lambda22.C: New test,
END FUNCTION
END INTERFACE
INTERFACE
- FUNCTION two() BIND(C,name="two") RESULT(r) ! { dg-error "cannot be a character string" }
+ FUNCTION two() BIND(C,name="two") RESULT(r) ! { dg-error "must have length 1" }
USE iso_c_binding
CHARACTER(kind=C_CHAR,len=2) :: r
END FUNCTION