aboutsummaryrefslogtreecommitdiff
path: root/test/Analysis/array-struct.c
diff options
context:
space:
mode:
authorZhongxing Xu <xuzhongxing@gmail.com>2008-11-24 23:45:56 +0000
committerZhongxing Xu <xuzhongxing@gmail.com>2008-11-24 23:45:56 +0000
commit33d7cbfc0aa25dcc5d4470f39b374a1b9473a190 (patch)
tree91fb8fb1604f5d13979def47049905654074da6e /test/Analysis/array-struct.c
parente793a6ec1617376c7c320dc0b9808dce5450d726 (diff)
Add no-warning to test case.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59995 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Analysis/array-struct.c')
-rw-r--r--test/Analysis/array-struct.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Analysis/array-struct.c b/test/Analysis/array-struct.c
index 914d6e2e7b..3b6bc82315 100644
--- a/test/Analysis/array-struct.c
+++ b/test/Analysis/array-struct.c
@@ -62,7 +62,7 @@ void f7() {
void f8() {
int a[10];
- a[sizeof(a)/sizeof(int) - 1] = 1;
+ a[sizeof(a)/sizeof(int) - 1] = 1; // no-warning
}
void f9() {