summaryrefslogtreecommitdiff
path: root/test/language/expressions/async-function/syntax-expression-is-PrimaryExpression.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/language/expressions/async-function/syntax-expression-is-PrimaryExpression.js')
-rw-r--r--test/language/expressions/async-function/syntax-expression-is-PrimaryExpression.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/language/expressions/async-function/syntax-expression-is-PrimaryExpression.js b/test/language/expressions/async-function/syntax-expression-is-PrimaryExpression.js
new file mode 100644
index 000000000..992c36385
--- /dev/null
+++ b/test/language/expressions/async-function/syntax-expression-is-PrimaryExpression.js
@@ -0,0 +1,11 @@
+// Copyright 2016 Microsoft, Inc. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+author: Brian Terlson <brian.terlson@microsoft.com>
+esid: pending
+description: >
+ Async function expressions are PrimaryExpressions
+---*/
+
+(async function foo() { }.prototype)