URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [ext/] [visibility/] [pragma.C] - Rev 695
Go to most recent revision | Compare with Previous | Blame | View Log
/* Test that #pragma GCC visibility affects class members. *//* { dg-do compile } *//* { dg-require-visibility "" } *//* { dg-final { scan-hidden "_ZN3Foo6methodEv" } } */#pragma GCC visibility push(hidden)class Foo{void method();};#pragma GCC visibility popvoid Foo::method() { }
Go to most recent revision | Compare with Previous | Blame | View Log
