dll-1.C   [plain text]


// Build don't link:
// Special g++ Options: -mno-nop-fun-dllimport
// Skip if not target: arm-*pe
// declspec test #1
// set compiler_result "__imp_imp.*\.section${spaces}.drectve\n\[^\n\]*-export:exp"
// set not_compiler_result "__imp_exp"

__declspec (dllimport) void imp ();

__declspec (dllexport) void exp () { imp (); }