[cfe-commits] r59995 - /cfe/trunk/test/Analysis/array-struct.c
Zhongxing Xu
xuzhongxing at gmail.com
Mon Nov 24 15:45:56 PST 2008
Author: zhongxingxu
Date: Mon Nov 24 17:45:56 2008
New Revision: 59995
URL: http://llvm.org/viewvc/llvm-project?rev=59995&view=rev
Log:
Add no-warning to test case.
Modified:
cfe/trunk/test/Analysis/array-struct.c
Modified: cfe/trunk/test/Analysis/array-struct.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Analysis/array-struct.c?rev=59995&r1=59994&r2=59995&view=diff
==============================================================================
--- cfe/trunk/test/Analysis/array-struct.c (original)
+++ cfe/trunk/test/Analysis/array-struct.c Mon Nov 24 17:45:56 2008
@@ -62,7 +62,7 @@
void f8() {
int a[10];
- a[sizeof(a)/sizeof(int) - 1] = 1;
+ a[sizeof(a)/sizeof(int) - 1] = 1; // no-warning
}
void f9() {
More information about the cfe-commits
mailing list