This program compiles with no errors/warnings in vala-head and it should report an error because of missing 'return' in function: int pwn() { print ("jejej"); } public static void main(string[] args) { pwn(); }