Compile time check missing(?)

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

Reported by Martin Stjernholm mast@roxen.com

In the following program I expected a compilation error in the use of ::f. Instead there is a runtime error about calling the NULL value.

class Foo
{
  int f() {return ::f();}
}
    int main()
    {
      Foo()->f();
    }

(This is not new in 7.3.)