diff options
Diffstat (limited to 'test/Analysis/array-struct.c')
-rw-r--r-- | test/Analysis/array-struct.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Analysis/array-struct.c b/test/Analysis/array-struct.c index 1045bdb645..914d6e2e7b 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) - 1] = 1; + a[sizeof(a)/sizeof(int) - 1] = 1; } void f9() { |