URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc3/] [gcc/] [testsuite/] [gcc.dg/] [visibility-15.c] - Rev 298
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