analyzer: Fix -Wanalyzer-possible-null-argument warning (PR 96014)
authorJonathan Wakely <jwakely@redhat.com>
Tue, 30 Jun 2020 16:40:08 +0000 (17:40 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Wed, 1 Jul 2020 19:21:34 +0000 (20:21 +0100)
commit039a630d787dc18c76b81f08a322ba1e0d91082d
tree39a2c3e34ccc8db01f6647f159c0977d69a29c44
parent1617fc4479fc116ee49a76226ed8919d02531f8a
analyzer: Fix -Wanalyzer-possible-null-argument warning (PR 96014)

gcc/testsuite/ChangeLog:

PR testsuite/96014
* g++.dg/analyzer/pr94028.C: Make operator new non-throwing so
that the compiler doesn't implicitly mark it as returning
non-null.
gcc/testsuite/g++.dg/analyzer/pr94028.C