summaryrefslogtreecommitdiff
path: root/test/FrontendC/2007-03-06-VarSizeInStruct1.c
blob: b4ae56549318995fd0b4906bafd60c7c0092e444 (plain)
1
2
3
4
5
6
7
8
// 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;
}