minix/external/bsd/llvm/dist/clang/test/CodeGen/2010-06-11-SaveExpr.c

9 lines
148 B
C
Raw Normal View History

// RUN: %clang_cc1 -emit-llvm %s -o -
// Test case by Eric Postpischil!
void foo(void)
{
char a[1];
int t = 1;
((char (*)[t]) a)[0][0] = 0;
}