Skip to content
Snippets Groups Projects
Commit 65df2bd2 authored by Leo Balter's avatar Leo Balter Committed by Rick Waldron
Browse files

Add test case for new call expression invalid syntax

parent a347df3a
No related branches found
No related tags found
No related merge requests found
// Copyright (C) 2018 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: ImportCall is a CallExpression, it can't be preceeded by the new keyword
template: syntax/invalid
info: |
CallExpression:
ImportCall
ImportCall :
import( AssignmentExpression[+In, ?Yield] )
---*/
//- import
new import('')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment