Home | History | Annotate | Download | only in ld-cygwin
      1 extern void exewrite (void);
      2 __attribute((dllimport)) int  global_a;
      3 
      4 void
      5 dllwrite (void)
      6 {
      7   global_a = 3;
      8   exewrite ();
      9 }
     10 
     11 int _stdcall testdll_main(int p1, unsigned long p2, void* p3)
     12 {
     13 	return 1;
     14 }
     15