Skip to content

Wrong line no. in phase 1 test case test_1_s12.out #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Charley-xiao opened this issue Dec 9, 2024 · 0 comments
Open

Wrong line no. in phase 1 test case test_1_s12.out #3

Charley-xiao opened this issue Dec 9, 2024 · 0 comments

Comments

@Charley-xiao
Copy link

test_1_s12.out 中第三行有如下参考报错信息:

Error type B at Line 1 Missing semicolon ';'

然而,根据源码,第三个缺少分号的行数应该在第7行,花括号后。

struct my_struct
{
  int code
  int a;
  char data
  char b;
}
int test(int a,int B
{
    struct my_struct c
    struct my_struct d;
    int e=(2+3/(2-2)*2;
    int f=(2+3/(2-2))*2;
 
    if(a>=b
    {
        a=1+1;
        b=1+1;
    }
    if(a>=b)
    {
        a=1+1
        b=1+1;
    }
    
}
int test(){
    int a=0;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant