testsuite: localclass2 require LTO

The testcase uses LTO but does not include the dg-require LTO.

gcc/testsuite/ChangeLog:

	* g++.dg/debug/localclass2.C: Require LTO.
This commit is contained in:
David Edelsohn 2020-11-21 15:43:05 -05:00
parent 78cd6a63ee
commit 1cb50c0a0e

View File

@ -1,6 +1,7 @@
// PR c++/97918
// { dg-additional-options "-g -O -flto" }
// { dg-do compile { target c++11 } }
// { dg-require-effective-target lto }
// { dg-additional-options "-g -O -flto" }
namespace { class A {}; }
class B {};