
###### JerryScript revision
3bcd48f

###### Build platform
Ubuntu 20.04.2 LTS (Linux 5.11.0-25-generic x86_64)

###### Build steps
```
./tools/build.py --clean --debug --compile-flag=-fsanitize=address \
--compile-flag=-m32 --compile-flag=-fno-omit-frame-pointer \
--compile-flag=-fno-common --compile-flag=-g --strip=off \
--system-allocator=on --logging=on --linker-flag=-fuse-ld=gold \
--error-messages=on --profile=es2015-subset --stack-limit=20
```

###### Test case
```
let str = '';
function async() {}
async((str))
```

###### Output
```
ICE: Assertion 'context_p->stack_top_uint8 == SCAN_STACK_TRY_STATEMENT || context_p->stack_top_uint8 == SCAN_STACK_CATCH_STATEMENT' failed at /home/jerryscript/jerry-core/parser/js/js-scanner.c(scanner_scan_statement_end):2329.
```
Assertion 'context_p->stack_top_uint8 == SCAN_STACK_TRY_STATEMENT || context_p->stack_top_uint8 == SCAN_STACK_CATCH_STATEMENT' failed in scanner_scan_statement_end
This is a GitHub Issue
repo:jerryscript
owner:jerryscript-project
Title : Assertion 'context_p->stack_top_uint8 == SCAN_STACK_TRY_STATEMENT || context_p->stack_top_uint8 == SCAN_STACK_CATCH_STATEMENT' failed in scanner_scan_statement_end
Issue date:

--- start body ---

###### JerryScript revision
3bcd48f

###### Build platform
Ubuntu 20.04.2 LTS (Linux 5.11.0-25-generic x86_64)

###### Build steps
```
./tools/build.py --clean --debug --compile-flag=-fsanitize=address \
--compile-flag=-m32 --compile-flag=-fno-omit-frame-pointer \
--compile-flag=-fno-common --compile-flag=-g --strip=off \
--system-allocator=on --logging=on --linker-flag=-fuse-ld=gold \
--error-messages=on --profile=es2015-subset --stack-limit=20
```

###### Test case
```
let str = '';
function async() {}
async((str))
```

###### Output
```
ICE: Assertion 'context_p->stack_top_uint8 == SCAN_STACK_TRY_STATEMENT || context_p->stack_top_uint8 == SCAN_STACK_CATCH_STATEMENT' failed at /home/jerryscript/jerry-core/parser/js/js-scanner.c(scanner_scan_statement_end):2329.
```
--- end body ---
