aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-cygwin/testexe.c
blob: 333c3892265b881175f4302f1c7f771af79a972d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
int global_a = 2;

void 
exewrite (void)
{
  global_a = 1;
}

extern void dllwrite (void);

int _stdcall
testexe_main (void* p1, void *p2, char* p3, int p4)
{
  dllwrite ();
  return 0;
}