// RUN: clang -checker-simple -verify %s

void f(void) {
  void (*p)(void);
  p = f;
  p = &f;
  p();
  (*p)();
}

// RUN: clang -checker-simple -verify %s

void f(void) {
  void (*p)(void);
  p = f;
  p = &f;
  p();
  (*p)();
}

void g(void (*fp)(void));

void f2() {
  g(f);
}

Add test for SCA region store.
Add test for SCA region store.

git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@58235 91177308-0d34-0410-b5e6-96231b3b80d8
