URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [visibility-15.c] - Rev 708
Go to most recent revision | Compare with Previous | Blame | View Log
/* Test that accessed external functions are marked. */ /* { dg-do compile } */ /* { dg-skip-if "" { *-*-darwin* } { "*" } { "" } } */ /* { dg-require-visibility "" } */ /* { dg-final { scan-hidden "foo" } } */ extern void foo(void) __attribute__ ((visibility ("hidden"))); typedef void (*foo_t)(void); foo_t g(void) { return foo; }
Go to most recent revision | Compare with Previous | Blame | View Log