From: ro Date: Thu, 8 Nov 2018 08:45:58 +0000 (+0000) Subject: Don't use predefined sun in g++.dg/lto/pr87906 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b312ab23f2efe11512c78bb456216cece0034d8d;p=thirdparty%2Fgcc.git 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@265910 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 5edc17e1c37d..3584dfbfdeda 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2018-11-08 Rainer Orth + + * 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 PR tree-optimization/87913 diff --git a/gcc/testsuite/g++.dg/lto/pr87906_0.C b/gcc/testsuite/g++.dg/lto/pr87906_0.C index 08e7ed3ba07f..31b62dad0e0e 100644 --- a/gcc/testsuite/g++.dg/lto/pr87906_0.C +++ b/gcc/testsuite/g++.dg/lto/pr87906_0.C @@ -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 void d(int) { throw a::uno::RuntimeException(); } int f; diff --git a/gcc/testsuite/g++.dg/lto/pr87906_1.C b/gcc/testsuite/g++.dg/lto/pr87906_1.C index ee5849fd604a..561087693dfa 100644 --- a/gcc/testsuite/g++.dg/lto/pr87906_1.C +++ b/gcc/testsuite/g++.dg/lto/pr87906_1.C @@ -1,5 +1,5 @@ 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(); }