Commit f1f5b884 by Rainer Orth Committed by Rainer Orth

Don't use predefined sun in g++.dg/lto/pr87906

	* g++.dg/lto/pr87906_0.C: Use moon instead of possibly predefined
	sun.
	* g++.dg/lto/pr87906_1.C: Likewise.

From-SVN: r265910
parent 85eaf6c6
2018-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* g++.dg/lto/pr87906_0.C: Use moon instead of possibly predefined
sun.
* g++.dg/lto/pr87906_1.C: Likewise.
2018-11-08 Richard Biener <rguenther@suse.de>
PR tree-optimization/87913
......
......@@ -3,13 +3,13 @@
// { dg-extra-ld-options "-shared -nostdlib" }
namespace com {
namespace sun {
namespace moon {
namespace star {}
} // namespace sun
} // namespace moon
} // namespace com
namespace a = com::sun::star;
namespace a = com::moon::star;
namespace com {
namespace sun {
namespace moon {
namespace star {
namespace uno {
class a {
......@@ -28,7 +28,7 @@ class c {
class RuntimeException : b {};
} // namespace uno
} // namespace star
} // namespace sun
} // namespace moon
} // namespace com
template <typename> void d(int) { throw a::uno::RuntimeException(); }
int f;
......
namespace com {
namespace sun {
namespace moon {
namespace star {
namespace uno {
class a {
......@@ -15,9 +15,9 @@ class RuntimeException : b {};
} // namespace uno
class C : uno::RuntimeException {};
} // namespace star
} // namespace sun
} // namespace moon
} // namespace com
using com::sun::star::C;
using com::sun::star::uno::RuntimeException;
using com::moon::star::C;
using com::moon::star::uno::RuntimeException;
void d() { throw RuntimeException(); }
void e() { C(); }
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