title: GCC cannot handle function which return reference
body: <p>I have a strange error. I'm trying to compile my program as at bottom in gcc. In g++ it compiles without errors, but in GCC I get: <code>error: expected identifier or '(' before '&amp;' token
  </code> message in line with myFunction declaration. </p>
  
  <p>Do you know if I can return reference in C language?</p>
  
  <p>My module.h file:</p>
  
  <pre><code>//module.h
  const int&amp; myFunction();
  </code></pre>
  
  <p>My module.cpp file:</p>
  
  <pre><code>//module.c
  const unsigned long&amp; myFunction()
  {
    static int x = 123;
    return x;
  } 
  </code></pre>