Commit 05107d4e by Jakub Jelinek

testsuite: Fix up pr93166.C test, so that it doesn't FAIL with -std=c++98 and…

testsuite: Fix up pr93166.C test, so that it doesn't FAIL with -std=c++98 and tests what it is supposed to test.

2020-01-26  Jakub Jelinek  <jakub@redhat.com>

	PR ipa/93166
	* g++.dg/pr93166.C: Move to ...
	* g++.dg/pr93166_0.C: ... here.  Turn it into a proper lto test.
parent cc748322
2020-01-26 Jakub Jelinek <jakub@redhat.com>
PR ipa/93166
* g++.dg/pr93166.C: Move to ...
* g++.dg/pr93166_0.C: ... here. Turn it into a proper lto test.
PR tree-optimization/92788
* g++.dg/pr92788.C: Move to ...
* g++.target/i386/pr92788.C: ... here. Remove target from dg-do line.
......
// { dg-do compile }
// { dg-options "-shared -flto -O2 -fPIC -fvisibility=hidden" }
// PR ipa/93166
// { dg-lto-do link }
// { dg-lto-options { { -fPIC -O2 -flto -fvisibility=hidden } } }
// { dg-require-effective-target shared }
// { dg-require-effective-target fpic }
// { dg-extra-ld-options "-shared" }
// { dg-require-visibility "" }
namespace Qt {
enum DropAction {};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment