#include <pthread.h>

int g;

void *t1(void *arg)
{
  pthread_exit(0);
  g=1;
}

int main()
{
  pthread_t id1;
  
  int arg1=10;
  
  g=10;

  pthread_create(&id1, NULL, t1, &arg1);
  
  assert(g==10);
}
