summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/proc_ptr_result_5.f90
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gfortran.dg/proc_ptr_result_5.f90')
-rw-r--r--gcc/testsuite/gfortran.dg/proc_ptr_result_5.f903
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/testsuite/gfortran.dg/proc_ptr_result_5.f90 b/gcc/testsuite/gfortran.dg/proc_ptr_result_5.f90
index de03523367..121fd4d87f 100644
--- a/gcc/testsuite/gfortran.dg/proc_ptr_result_5.f90
+++ b/gcc/testsuite/gfortran.dg/proc_ptr_result_5.f90
@@ -6,7 +6,7 @@
program test
procedure(real), pointer :: p
- p => f() ! { dg-error "Type/rank mismatch in return value" }
+ p => f() ! { dg-error "Type mismatch in function result" }
contains
function f()
pointer :: f
@@ -17,4 +17,3 @@ contains
f = .true._1
end function f
end program test
-