Automatic date update in version.in
[binutils-gdb.git] / ld / testsuite / ld-vsb / test.c
blobd2210accc62124eaad742a5e9fcaaf457a4456ea
1 #pragma weak main_hidden_data
2 extern int main_hidden_data;
3 __asm__ (".hidden main_hidden_data");
5 #pragma weak main_hidden_func
6 extern int main_hidden_func ();
7 __asm__ (".hidden main_hidden_func");
9 int
10 _start (void)
12 int ret = 0;
14 if (&main_hidden_data != 0)
15 ret = 1;
16 if (main_hidden_func != 0)
17 ret = 1;
19 return ret;
22 int
23 __start (void)
25 return _start ();