function-title.expect.txt 697 B

123456789
  1. <span class="hljs-function"><span class="hljs-keyword">int</span> <span class="hljs-title">main</span><span class="hljs-params">()</span> </span>{
  2. A a = <span class="hljs-keyword">new</span> A();
  3. <span class="hljs-keyword">int</span> b = b * sum(<span class="hljs-number">1</span>, <span class="hljs-number">2</span>);
  4. <span class="hljs-keyword">if</span> (a-&gt;check1())
  5. <span class="hljs-keyword">return</span> <span class="hljs-number">3</span>;
  6. <span class="hljs-keyword">else</span> <span class="hljs-keyword">if</span> (a-&gt;check2())
  7. <span class="hljs-keyword">return</span> <span class="hljs-number">4</span>;
  8. <span class="hljs-keyword">return</span> a-&gt;result();
  9. }