diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.other/dll-1.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.other/dll-1.C | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.other/dll-1.C b/gcc/testsuite/g++.old-deja/g++.other/dll-1.C new file mode 100644 index 000000000..8468c1b91 --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.other/dll-1.C @@ -0,0 +1,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 (); } |