blob: 4ae1a0e1797724032a24d9a62088c4db3557985f [file] [log] [blame]
/* { dg-do compile { target arm*-*-pe* } } */
/* { dg-do compile { target thumb*-*-pe* } } */
/* { dg-options -mno-nop-fun-dllimport } */
__declspec (dllimport) void imp ();
__declspec (dllexport) void exp () { imp (); }
/* { dg-final { scan-assembler "\.section\[ \t\]*.drectve\n\[^\n\]*-export:exp.*__imp_imp" } } */
/* { dg-final { scan-assembler-not "__imp_exp" } } */