Fix pr89330_0.C test

Fix pr89330_0.C test by adding missing effective target shared.
Committed as obvious.

   testsuite/
	* gcc/testsuite/g++.dg/lto/pr89330_0.C: Add effective-target shared.

From-SVN: r273973
This commit is contained in:
Wilco Dijkstra 2019-08-01 12:54:23 +00:00 committed by Wilco Dijkstra
parent 95bbf4751b
commit dd1f6968d6
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2019-08-01 Wilco Dijkstra <wdijkstr@arm.com>
* gcc/testsuite/g++.dg/lto/pr89330_0.C: Add effective-target shared.
2019-08-01 Kito Cheng <kito.cheng@sifive.com>
* gcc.target/riscv/attribute-10.c: Fix testcase on rv64.

View File

@ -1,6 +1,7 @@
// { dg-lto-do link }
// { dg-lto-options { { -O3 -g -flto -shared -fPIC -Wno-odr } } }
// { dg-require-effective-target fpic }
// { dg-require-effective-target shared }
namespace Inkscape {
class Anchored {};