From: David Edelsohn Date: Tue, 30 Jun 2020 17:42:53 +0000 (-0400) Subject: testsuite: expect additional warning in analyzer/pr93993.f90 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fe03543bfb8c88c3feb8076b5ff1690dc3903878;p=gcc.git testsuite: expect additional warning in analyzer/pr93993.f90 The recent changes to warnings elicit an additional warning in analyzer/pr93993.f90. This patch updates the testcase to expect the warning. gcc/testsuite/ChangeLog 2020-06-30 David Edelsohn * gfortran.dg/analyzer/pr93993.f90: Expect leak tm warning. --- diff --git a/gcc/testsuite/gfortran.dg/analyzer/pr93993.f90 b/gcc/testsuite/gfortran.dg/analyzer/pr93993.f90 index 230b99e4fcd..7a01095bfdc 100644 --- a/gcc/testsuite/gfortran.dg/analyzer/pr93993.f90 +++ b/gcc/testsuite/gfortran.dg/analyzer/pr93993.f90 @@ -18,7 +18,7 @@ contains allocate (tm) ! { dg-bogus "dereference of possibly-NULL" } ce => tm - end function hv + end function hv ! { dg-warning "leak of 'tm'" } end module gg