aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>2020-06-30 13:42:53 -0400
committerDavid Edelsohn <dje.gcc@gmail.com>2020-06-30 13:44:26 -0400
commitfe03543bfb8c88c3feb8076b5ff1690dc3903878 (patch)
tree2a9de9dc49727d3713f82b46ca1aa0e64b1968d9 /gcc
parent01dd58659faae3d6292c458cd9cf96dfd4cf7198 (diff)
downloadgcc-fe03543bfb8c88c3feb8076b5ff1690dc3903878.zip
gcc-fe03543bfb8c88c3feb8076b5ff1690dc3903878.tar.gz
gcc-fe03543bfb8c88c3feb8076b5ff1690dc3903878.tar.bz2
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 <dje.gcc@gmail.com> * gfortran.dg/analyzer/pr93993.f90: Expect leak tm warning.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/gfortran.dg/analyzer/pr93993.f902
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gfortran.dg/analyzer/pr93993.f90 b/gcc/testsuite/gfortran.dg/analyzer/pr93993.f90
index 230b99e..7a01095 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