summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/dll-1.C
blob: 8468c1b91084ef13bf84e35110f2e59021c875b6 (plain)
1
2
3
4
5
6
7
8
9
// { dg-do assemble { target arm-*-*pe } }
// { dg-options "-mno-nop-fun-dllimport" }
// 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 (); }