Examples compile

They don't link yet, obviously, but they compile.