Sync usage with man page.
[netbsd-mini2440.git] / gnu / dist / gdb6 / gdb / testsuite / gdb.base / shreloc.c
blob6867362bf0a22bee1425034e3c6f7b1407c6a8d9
1 #if defined(_WIN32) || defined(__CYGWIN__)
2 # define ATTRIBUTES __attribute((__dllimport__))
3 #else
4 # define ATTRIBUTES
5 #endif
7 extern ATTRIBUTES void fn_1 (int);
8 extern ATTRIBUTES void fn_2 (int);
9 extern ATTRIBUTES int extern_var_1;
10 extern ATTRIBUTES int extern_var_2;
12 int main ()
14 fn_1 (extern_var_1);
15 fn_2 (extern_var_2);
17 return 0;