blob: 6ccd0d0d5b1f2f4863fc15bfb2da3cfbc8cedbe1 [file] [log] [blame]
// 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: It is a syntax error if AsyncFunctionBody contains SuperCall is true
negative:
phase: parse
type: SyntaxError
---*/
throw "Test262: This statement should not be evaluated.";
async(foo) => { super() };