Local, scope dependent functions are not equal to themselves.

Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2690

Reported by Martin Nilsson, IDA nilsson@pike.ida.liu.se

The following code will throw an error.

int main() {

  int b;
  void add() { b++; };

  if(add!=add)
    error("Ouch.\n");
}