OSDN Git Service

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