8sa1-gcc/gcc/testsuite/gcc.dg/dll-1.c
Nick Clifton ba0dcc87be * gcc.dg/dll-?.c Add thumb to target list.
Fix assembler scan patterns to match current assembler output.

From-SVN: r22931
1998-10-08 12:17:00 -06:00

11 lines
392 B
C

/* { 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 dll-1.c "\.section\[ \t\]*.drectve\n\[^\n\]*-export:exp.*__imp_imp" } } */
/* { dg-final { scan-assembler-not dll-1.c "__imp_exp" } } */