#include <iostream>
#include <typeinfo>
using namespace std;

typedef void (*Foo)();
typedef void Bar();

void baz() { cout << "baz()\n"; }

int main() {

  Foo  foo=baz;
  Bar* bar=baz;
  
  foo();
  bar();
  cout << (typeid(foo)==typeid(bar));	

}