// SKIP PARAM: --set ana.activated[+] apron --set ana.apron.privatization dummy
#include <pthread.h>
#include <assert.h>

int g;

void *t_fun(void *arg) {
  // shouldn't have g, x, y in local apron state
  g = 43;
  int *p = arg;
  *p = 11;
  return NULL;
}

int main() {
  g = 42;
  int x = 10;
  int y = 20;

  pthread_t id;
  pthread_create(&id, NULL, t_fun, &x);

  // shouldn't have g, x, y in local apron state
  assert(g == 42); // UNKNOWN!
  assert(x == 10); // UNKNOWN!
  return 0;
}
Add test for apron dummy privatization soundness
Add test for apron dummy privatization soundness
