]> granicus.if.org Git - clang/commitdiff
Add test for SCA region store.
authorZhongxing Xu <xuzhongxing@gmail.com>
Mon, 27 Oct 2008 09:21:27 +0000 (09:21 +0000)
committerZhongxing Xu <xuzhongxing@gmail.com>
Mon, 27 Oct 2008 09:21:27 +0000 (09:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58235 91177308-0d34-0410-b5e6-96231b3b80d8

test/Analysis/func.c

index 94ea0eb300be17ef7a19e24a41ae8f25feec1c7f..49824c3ca65470617075aa456c351a5f098f80a5 100644 (file)
@@ -7,3 +7,9 @@ void f(void) {
   p();
   (*p)();
 }
+
+void g(void (*fp)(void));
+
+void f2() {
+  g(f);
+}