Add test for function.

This commit is contained in:
Daniel Tschinder 2017-08-19 01:30:14 +02:00 committed by Henry Zhu
parent de47b0423f
commit dfb279f478
2 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,3 @@
function* foo() {
if (true) function.;
}

View File

@ -0,0 +1,3 @@
{
"throws": "Unexpected token (2:21)"
}