Compile demo program