OSDN Git Service

2006-12-19 Eric Christopher <echristo@apple.com>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / symbian1.c
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