testsuite: Require LTO support for pr94426-1.C
authorDavid Edelsohn <dje.gcc@gmail.com>
Fri, 24 Apr 2020 02:36:10 +0000 (22:36 -0400)
committerDavid Edelsohn <dje.gcc@gmail.com>
Fri, 24 Apr 2020 02:39:49 +0000 (22:39 -0400)
commit3b9e4bc95719288d17b37be3281f9ca4e4d42ebd
treeaf952f567f9a9f75685f85f0506a40f0410ca90e
parentcd5dc922eac1265e25fd749a21b9cd7e4016d124
testsuite: Require LTO support for pr94426-1.C

The testcase uses the -flto option but does not ensure that LTO support
is enabled. This patch adds the test to the testcase.

        * g++.dg/cpp0x/lambda/pr94426-1.C: Require LTO.
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/lambda/pr94426-1.C