// PARAM: --sets ana.activated[+] octApron
#include <pthread.h>
#include <assert.h>

int g = 1;

void *t_fun(void *arg) {
  g = 2; // write something non-initial so base wouldn't find success
  return NULL;
}

int main(void) {
  int x, y;

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

  x = g;
  y = g;
  // unlock(m_g)-s must forget relation with unprotected
  assert(x == y); // UNKNOWN!
  return 0;
}

Add regression test where unprotected read must forget relation
Add regression test where unprotected read must forget relation
