blob: bfe0f35e269c5ab1febfbf7180d03f5085926b21 [file] [log] [blame]
Eric Christopher3883e662011-07-26 22:17:02 +00001// RUN: %clang_cc1 -emit-llvm %s -o -
2// Test case by Eric Postpischil!
3void foo(void)
4{
5 char a[1];
6 int t = 1;
7 ((char (*)[t]) a)[0][0] = 0;
8}