aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/dll-1.C
blob: 0c66b7faf4bf52487d9b943bf471bd0c046e53d1 (plain)
1
2
3
4
5
6
7
8
9
10
// 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 (); }