language grl 0.1
module W2SemanticDiagnostics
  const speed v = joint(30 %)
  const speed v = joint(40 %)
  const zone zf = fine
  target home = joint_target { joints: [0 deg, 0 deg, 0 deg, 0 deg, 0 deg, 0 deg] }
  proc set_done(out bool done)
    done = true
  end
  func bool bad_func()
    wait io.di[1] == true
    return true
  end
  proc main()
    call set_done(true)
    call missing_proc()
    movej missing_target speed v zone zf
  end
end
