xref: /minix3/external/bsd/llvm/dist/clang/test/CodeGen/2010-06-11-SaveExpr.c (revision 0b98e8aad89f2bd4ba80b523d73cf29e9dd82ce1)
1 // RUN: %clang_cc1 -emit-llvm %s -o -
2 // Test case by Eric Postpischil!
3 void foo(void)
4 {
5   char a[1];
6   int t = 1;
7   ((char (*)[t]) a)[0][0] = 0;
8 }
9