diff options
author | David Edelsohn <dje.gcc@gmail.com> | 2020-06-30 13:42:53 -0400 |
---|---|---|
committer | Giuliano Belinassi <giuliano.belinassi@usp.br> | 2020-08-17 13:15:36 -0300 |
commit | 2b313330228d8ff26d6a09705350e74196b61c30 (patch) | |
tree | 770e369bb5a49c8bcc4983a98e8f3f93a496dfac | |
parent | 8dc9e1186bad87b74da6db72095c7649cc3867a9 (diff) | |
download | gcc-2b313330228d8ff26d6a09705350e74196b61c30.zip gcc-2b313330228d8ff26d6a09705350e74196b61c30.tar.gz gcc-2b313330228d8ff26d6a09705350e74196b61c30.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.
-rw-r--r-- | gcc/testsuite/gfortran.dg/analyzer/pr93993.f90 | 2 |
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 |