prog.m: In function ‘main’:
prog.m:16:6: warning: ‘main’ is normally a non-static function [-Wmain]
int main(int argc, const char * argv[]) {
^~~~
prog.m:25:1: error: expected expression before ‘end’
@end
^
prog.m:25:1: error: expected declaration or statement at end of input
prog.m: At top level:
prog.m:25:1: warning: ‘@end’ missing in implementation context
prog.m: In function ‘main’:
prog.m:25:1: warning: control reaches end of non-void function [-Wreturn-type]
@end
^
At top level:
prog.m:16:6: warning: ‘main’ defined but not used [-Wunused-function]
int main(int argc, const char * argv[]) {
^~~~