1 /* { dg-do compile { target arm*-*-pe* } } */
2 /* { dg-options -mno-nop-fun-dllimport } */
3 
4 __declspec (dllimport) void imp ();
5 
_exp()6 __declspec (dllexport) void _exp () { imp (); }
7 
8 /* { dg-final { scan-assembler "\.section\[ \t\]*.drectve\n\[^\n\]*-export:_exp.*__imp_imp" } } */
9 /* { dg-final { scan-assembler-not "__imp__exp" } } */
10 
11