llvm-project/llvm/test/FrontendC/2007-03-06-VarSizeInStruct1.c

9 lines
131 B
C
Raw Normal View History

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