summaryrefslogtreecommitdiff
path: root/test/language/expressions/async-function/syntax-expression-is-PrimaryExpression.js
diff options
context:
space:
mode:
authorBrian Terlson <brian.terlson@microsoft.com>2016-01-26 14:31:32 -0800
committerLeonardo Balter <leonardo.balter@gmail.com>2016-07-28 15:11:28 -0700
commitdbf251586e280cebc716b96f1a8a089ffa63a54f (patch)
treefa5ea329b6bf9f3236287849a3c649e5189d1aca /test/language/expressions/async-function/syntax-expression-is-PrimaryExpression.js
parentb785fdf9426fcfc7395049015b0fb7515fea9290 (diff)
downloadqtdeclarative-testsuites-dbf251586e280cebc716b96f1a8a089ffa63a54f.tar.gz
Add tests for async functions
Closes #479
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)