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

11 lines
223 B
C
Raw Normal View History

2003-06-09 21:23:53 +00:00
#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;