summaryrefslogtreecommitdiff
path: root/tools/lint/test/fixtures/features_valid.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lint/test/fixtures/features_valid.js')
-rw-r--r--tools/lint/test/fixtures/features_valid.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/lint/test/fixtures/features_valid.js b/tools/lint/test/fixtures/features_valid.js
new file mode 100644
index 000000000..1508f570a
--- /dev/null
+++ b/tools/lint/test/fixtures/features_valid.js
@@ -0,0 +1,10 @@
+^ expected errors | v input
+// Copyright (C) 2017 Mike Pennisi. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+/*---
+esid: sec-assignment-operators-static-semantics-early-errors
+description: Minimal test
+features: [async-functions, object-spread]
+---*/
+
+async function f({ ...a }) {}