llvm-6502/test/CFrontend/2007-03-06-VarSizeInStruct1.c

9 lines
128 B
C
Raw Normal View History

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