That is not a complete Arduino program, as it is missing setup() and variable defs.
Minimal, complete Arduino program (in code tags).
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}