aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhongxing Xu <xuzhongxing@gmail.com>2008-10-27 09:21:27 +0000
committerZhongxing Xu <xuzhongxing@gmail.com>2008-10-27 09:21:27 +0000
commit92429ddd879d22bb4d18e142ef0ff82d455f9be8 (patch)
tree0268b879012af4a6b9eb11b7d37d8e43e923072c
parent234a7d2bf50ba55496433f896577838407119e1a (diff)
Add test for SCA region store.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58235 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Analysis/func.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Analysis/func.c b/test/Analysis/func.c
index 94ea0eb300..49824c3ca6 100644
--- a/test/Analysis/func.c
+++ b/test/Analysis/func.c
@@ -7,3 +7,9 @@ void f(void) {
p();
(*p)();
}
+
+void g(void (*fp)(void));
+
+void f2() {
+ g(f);
+}