old-cross-binutils/gdb/testsuite/gdb.base/shreloc2.c
2003-06-09 21:23:53 +00:00

10 lines
223 B
C

#if defined(_WIN32) || defined(__CYGWIN__)
# define ATTRIBUTES __attribute((__dllexport__))
#else
# define ATTRIBUTES
#endif
static int static_var_2;
ATTRIBUTES void fn_2 (int unused) { }
ATTRIBUTES int extern_var_2 = 0;