fork download
  1.  
  2.  
  3. struct foo { int bar; };
  4. struct baz {
  5. struct foo (*foos)[];
  6. };
  7.  
  8. int main () {
  9. struct baz * thing;
  10. thing->foos[0][0].bar;
  11. return 0;
  12. }
Compilation error #stdin compilation error #stdout 0s 2152KB
stdin
Standard input is empty
compilation info
prog.c:10:14: error: subscript of pointer to incomplete type 'struct foo []'
  thing->foos[0][0].bar;
  ~~~~~~~~~~~^
1 error generated.
stdout
Standard output is empty