prog.c: In function 'main':
prog.c:14:11: warning: passing argument 1 of 'function' from incompatible pointer type [-Wincompatible-pointer-types]
function(&y,&x);
^
prog.c:6:6: note: expected 'struct Foo *' but argument is of type 'struct Bar *'
void function(struct Foo* x, struct Bar* y){}
^
prog.c:14:14: warning: passing argument 2 of 'function' from incompatible pointer type [-Wincompatible-pointer-types]
function(&y,&x);
^
prog.c:6:6: note: expected 'struct Bar *' but argument is of type 'struct Foo *'
void function(struct Foo* x, struct Bar* y){}
^
prog.c: At top level:
prog.c:19:1: error: unknown type name 'deliberate'
deliberate error here
^
prog.c:19:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'here'
deliberate error here
^