1 #if defined(_WIN32) || defined(__CYGWIN__) 2 # define ATTRIBUTES __attribute((__dllexport__)) 3 #else 4 # define ATTRIBUTES 5 #endif 6 7 static int static_var_1; 8 fn_1(int referenced)9ATTRIBUTES void fn_1 (int referenced) { static_var_1 = referenced; } 10 ATTRIBUTES int extern_var_1 = 0; 11