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:
parent
78cd6a63ee
commit
1cb50c0a0e
@ -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 {};
|
||||
|
Loading…
Reference in New Issue
Block a user