crash1.C   [plain text]


// Build don't link:
int i = 4;
struct S{
  char c[i];      // ERROR - size not constant
  int h;
  int foo(){
    return h;
  }
};

int main()
{
  S x;
  int i = x.foo();
}