Tests for compilation errors in trivial functions.