#include <iostream>  // cout, endl
#include <cstdlib>   // EXIT_SUCCESS

void BrokenPrintSquare(const int& i) {
  i = i*i;  // Compiler error here.
  std::cout << i << std::endl;
}

int main(int argc, char** argv) {
  int j = 2;

  BrokenPrintSquare(j);
  return EXIT_SUCCESS;
}