Index: gcc/gcc/testsuite/g++.old-deja/g++.jason/report.C |
diff --git a/gcc/gcc/testsuite/g++.old-deja/g++.jason/report.C b/gcc/gcc/testsuite/g++.old-deja/g++.jason/report.C |
index e1079cfb0aaf0a0d76af841aec0d01df3327adf3..b595662c22850b7bc27c9f4c0c39f28e9897f049 100644 |
--- a/gcc/gcc/testsuite/g++.old-deja/g++.jason/report.C |
+++ b/gcc/gcc/testsuite/g++.old-deja/g++.jason/report.C |
@@ -72,3 +72,6 @@ int darg (char X::*p) |
{ |
undef3 (1); // { dg-error "" } implicit declaration |
} // { dg-warning "no return statement" } |
+ |
+// { dg-message "warning: control reaches end of non-void function" "" { target *-*-* } 36 } |
+// { dg-message "warning: control reaches end of non-void function" "" { target *-*-* } 65 } |