2014-07-29 Ed Smith-Rowland <3dw4rd@verizon.net>
[official-gcc.git] / gcc / testsuite / gcc.dg / dll-1.c
blobf823523b2700f8fc08572c53865de577f9ca0649
1 /* { dg-do compile { target arm*-*-pe* } } */
2 /* { dg-options -mno-nop-fun-dllimport } */
4 __declspec (dllimport) void imp ();
6 __declspec (dllexport) void _exp () { imp (); }
8 /* { dg-final { scan-assembler "\.section\[ \t\]*.drectve\n\[^\n\]*-export:_exp.*__imp_imp" } } */
9 /* { dg-final { scan-assembler-not "__imp__exp" } } */