FUNCTION Bad : INT VAR_EXTERNAL G1 : INT; END_VAR G1 := 1; END_FUNCTION PROGRAM MAIN END_PROGRAM