old-cross-binutils/gdb/testsuite/gdb.base/shreloc1.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_1;
ATTRIBUTES void fn_1 (int unused) { }
ATTRIBUTES int extern_var_1 = 0;