1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
// 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(); }