gcc/testsuite/gcc.target/arm/symbian1.c
raw| 1 | /* { dg-do compile { target arm*-*-symbianelf* } } */ |
| 2 | /* Symbian OS requires that all defined symbols with external linkage |
| 3 | have the ELF STV_HIDDEN attribute set by default. */ |
| 4 | /* { dg-final { scan-assembler ".hidden.*i" } } */ |
| 5 | /* { dg-final { scan-assembler ".hidden.*j" } } */ |
| 6 | /* { dg-final { scan-assembler ".hidden.*f" } } */ |
| 7 | |
| 8 | int i; |
| 9 | int j = 3; |
| 10 | void f() {} |
| 11 |