URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [ext/] [visibility/] [fvisibility.C] - Rev 308
Go to most recent revision | Compare with Previous | Blame | View Log
/* Test that -fvisibility affects class members. */
/* { dg-do compile } */
/* { dg-require-visibility "" } */
/* { dg-options "-fvisibility=hidden" } */
/* { dg-final { scan-hidden "_ZN3Foo6methodEv" } } */
class Foo
{
void method();
};
void Foo::method() { }
Go to most recent revision | Compare with Previous | Blame | View Log