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