URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [visibility-17.c] - Rev 298
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