binutils-gdb/gdb/testsuite/gdb.base/shreloc2.c

11 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;