summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/shreloc2.c
blob: 1459093eeeb4c813cc7869cac991205796d0c055 (plain)
1
2
3
4
5
6
7
8
9
10
#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;