aboutsummaryrefslogtreecommitdiff
path: root/test/Analysis/array-struct.c
diff options
context:
space:
mode:
authorZhongxing Xu <xuzhongxing@gmail.com>2009-05-20 09:03:10 +0000
committerZhongxing Xu <xuzhongxing@gmail.com>2009-05-20 09:03:10 +0000
commit2acc3992b61e71d30653bf19be2479a78e4cd7a1 (patch)
treeee55fa142eb4328447eadb51962b58c122bf3fbc /test/Analysis/array-struct.c
parent262fd03ee934bebfbbfaabc14744427dd2e7a231 (diff)
Add comments to test case.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72165 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Analysis/array-struct.c')
-rw-r--r--test/Analysis/array-struct.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Analysis/array-struct.c b/test/Analysis/array-struct.c
index 17c0d46cd9..e602d5f527 100644
--- a/test/Analysis/array-struct.c
+++ b/test/Analysis/array-struct.c
@@ -63,6 +63,8 @@ void f6() {
char *p;
p = __builtin_alloca(10);
p[1] = 'a';
+ // Test if RegionStore::EvalBinOp converts the alloca region to element
+ // region.
p += 2;
}