Commit 060d67eb by Tianqi Yang

test(overload): add test case visit_ident_error1

Add test cases: - visit_ident_error1: visit a function table identifier
parent 91c03ae2
*** Error at (11,7): incompatible operands: int = a(...)
class A
{
static int a ()
{
return 1;
}
static int b ()
{
int ans;
ans = a;
return ans;
}
}
class Main
{
static void main ()
{
Print ( A.b () );
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment