foo2.cpp:9: error: expected primary-expression before '(' token
<p>What is the error in this file? 
I get:</p>

<pre>
foo2.cpp:9: error: expected primary-expression before '(' token
foo2.cpp:9: error: expected primary-expression before 'int'
foo2.cpp:9: error: expected ';' before '{' token
</pre>

<pre><code>int main(void)
{
  class X {
    int i;
  public:
    X(int ii = 0);
  };

  X::X(int ii) { i = ii; }
  return 0;
}
</code></pre>
