## JerryScript commit hash
55acdf2048b390d0f56f12e64dbfb2559f0e70ad

## Build platform
Ubuntu 20.04 LTS

## Build steps
```
./tools/build.py --clean --debug --compile-flag=-fsanitize=address --compile-flag=-m32 --lto=off --logging=on --line-info=on --error-message=on --system-allocator=on --profile=es2015-subset --stack-limit=20
```

## poc
```
function assertSyntaxError(code) {
    try {
        eval(code);
        throw new Error('Should throw SyntaxError, but executed code without throwing');
    } catch (e) {
        if (!e instanceof SyntaxError)
            throw new Error('Should throw SyntaxError, but threw ' + e);
    }
}
assertSyntaxError('let C = class { #constructor() {} }');
assertSyntaxError('let C = class { static #constructor() {} }');
assertSyntaxError('class C { #constructor() {} }');
assertSyntaxError('class C { static #constructor() {} }');
assertSyntaxError('let C = class { get #constructor() {} }');
assertSyntaxError('let C = class { static get #constructor() {} }');
assertSyntaxError('class C { get #constructor() {} }');
assertSyntaxError('class C { static get #constructor() {} }');
assertSyntaxError('let C = class { set #constructor(v) {} }');
assertSyntaxError('let C = class { static set #constructor(v) {} }');
assertSyntaxError('class C { set #constructor(v) {} }');
assertSyntaxError('class C { static set #constructor(v) {} }');
assertSyntaxError('let C = class { #constructor; }');
assertSyntaxError('let C = class { static #constructor; }');
assertSyntaxError('class C { #constructor; }');
assertSyntaxError('class C { static #constructor; }');
```

## assert log
```
ICE: Assertion '!is_static' failed at /home/sakura/jerryscript/jerry-core/parser/js/js-parser-expr.c(parser_parse_class_body):729.
Error: ERR_FAILED_INTERNAL_ASSERTION
[1]    4022294 abort      ~/jerryscript/build2/bin/jerry fuzz_output/fuzzer1/.cur_input
```
Assertion '!is_static' failed at jerry-core/parser/js/js-parser-expr.c(parser_parse_class_body):729
This is a GitHub Issue
repo:jerryscript
owner:jerryscript-project
Title : Assertion '!is_static' failed at jerry-core/parser/js/js-parser-expr.c(parser_parse_class_body):729
Issue date:

--- start body ---
## JerryScript commit hash
55acdf2048b390d0f56f12e64dbfb2559f0e70ad

## Build platform
Ubuntu 20.04 LTS

## Build steps
```
./tools/build.py --clean --debug --compile-flag=-fsanitize=address --compile-flag=-m32 --lto=off --logging=on --line-info=on --error-message=on --system-allocator=on --profile=es2015-subset --stack-limit=20
```

## poc
```
function assertSyntaxError(code) {
    try {
        eval(code);
        throw new Error('Should throw SyntaxError, but executed code without throwing');
    } catch (e) {
        if (!e instanceof SyntaxError)
            throw new Error('Should throw SyntaxError, but threw ' + e);
    }
}
assertSyntaxError('let C = class { #constructor() {} }');
assertSyntaxError('let C = class { static #constructor() {} }');
assertSyntaxError('class C { #constructor() {} }');
assertSyntaxError('class C { static #constructor() {} }');
assertSyntaxError('let C = class { get #constructor() {} }');
assertSyntaxError('let C = class { static get #constructor() {} }');
assertSyntaxError('class C { get #constructor() {} }');
assertSyntaxError('class C { static get #constructor() {} }');
assertSyntaxError('let C = class { set #constructor(v) {} }');
assertSyntaxError('let C = class { static set #constructor(v) {} }');
assertSyntaxError('class C { set #constructor(v) {} }');
assertSyntaxError('class C { static set #constructor(v) {} }');
assertSyntaxError('let C = class { #constructor; }');
assertSyntaxError('let C = class { static #constructor; }');
assertSyntaxError('class C { #constructor; }');
assertSyntaxError('class C { static #constructor; }');
```

## assert log
```
ICE: Assertion '!is_static' failed at /home/sakura/jerryscript/jerry-core/parser/js/js-parser-expr.c(parser_parse_class_body):729.
Error: ERR_FAILED_INTERNAL_ASSERTION
[1]    4022294 abort      ~/jerryscript/build2/bin/jerry fuzz_output/fuzzer1/.cur_input
```
--- end body ---
