Skip to content

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

@Charley-xiao

Description

@Charley-xiao

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;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions