OSDN Git Service

* lib/gcc-dg.exp (dg-skip-if): New function.
[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 "\.section\[ \t\]*.drectve\n\[^\n\]*-export:_exp.*__imp_imp" } } */
9 /* { dg-final { scan-assembler-not "__imp__exp" } } */
10