llvm-6502/test/CFrontend/2007-03-06-VarSizeInStruct1.c
2007-03-20 14:13:20 +00:00

9 lines
128 B
C

// RUN: %llvmgcc %s -S -o -
void* p (int n) {
struct f {
char w; char x[n]; char z[];
} F;
F.x[0]='x';
return &F;
}