Skip to content
Snippets Groups Projects
Commit 2346c40c authored by geoffk's avatar geoffk
Browse files

* g++.dg/ext/visibility/fvisibility-override1.C: Test using

	'hidden' and 'default' for better portability.
	* g++.dg/ext/visibility/fvisibility-override2.C: Likewise.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92800 138bc75d-0d04-0410-961f-82ee72b054a4
parent f03668bd
No related branches found
No related tags found
No related merge requests found
...@@ -6,6 +6,10 @@ ...@@ -6,6 +6,10 @@
   
2005-01-01 Geoffrey Keating <geoffk@geoffk.org> 2005-01-01 Geoffrey Keating <geoffk@geoffk.org>
   
* g++.dg/ext/visibility/fvisibility-override1.C: Test using
'hidden' and 'default' for better portability.
* g++.dg/ext/visibility/fvisibility-override2.C: Likewise.
* g++.old-deja/g++.abi/cxa_vec.C: Add -flat_namespace on Darwin * g++.old-deja/g++.abi/cxa_vec.C: Add -flat_namespace on Darwin
6 and 7. 6 and 7.
* g++.old-deja/g++.brendan/new3.C: Likewise. * g++.old-deja/g++.brendan/new3.C: Likewise.
......
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-require-visibility "" } */ /* { dg-require-visibility "" } */
/* { dg-options "-fvisibility=hidden" } */ /* { dg-options "-fvisibility=hidden" } */
/* { dg-final { scan-assembler "\\.internal.*Foo.methodEv" } } */ /* { dg-final { scan-not-hidden "methodEv" } } */
class __attribute__ ((visibility ("internal"))) Foo class __attribute__ ((visibility ("default"))) Foo
{ {
void method(); void method();
}; };
......
...@@ -2,11 +2,11 @@ ...@@ -2,11 +2,11 @@
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-require-visibility "" } */ /* { dg-require-visibility "" } */
/* { dg-options "-fvisibility=hidden" } */ /* { dg-options "-fvisibility=hidden" } */
/* { dg-final { scan-assembler "\\.internal.*Foo.methodEv" } } */ /* { dg-final { scan-not-hidden "Foo.methodEv" } } */
class Foo class Foo
{ {
__attribute__ ((visibility ("internal"))) void method(); __attribute__ ((visibility ("default"))) void method();
}; };
void Foo::method() { } void Foo::method() { }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment