URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [visibility-17.c] - Rev 310
Go to most recent revision | Compare with Previous | Blame | View Log
/* Test that external variable whose address is taken are marked. */ /* { dg-do compile } */ /* { dg-skip-if "" { *-*-darwin* } { "*" } { "" } } */ /* { dg-require-visibility "" } */ /* { dg-final { scan-hidden "foo" } } */ extern int foo __attribute__ ((visibility ("hidden"))); int *f () { return &foo; }
Go to most recent revision | Compare with Previous | Blame | View Log