Merged with mainline at revision 126347.
[official-gcc.git] / gcc / testsuite / gcc.dg / symbian1.c
blob25e8128168383c926400748699382043dc8716ea
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" } } */
8 int i;
9 int j = 3;
10 void f() {}