You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
148 B

// 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;
}