1 // |reftest| error:SyntaxError module
2 // Copyright (C) 2016 the V8 project authors. All rights reserved.
3 // This code is governed by the BSD license found in the LICENSE file.
6 Anonymous function declaration must not be interpreted as an expression
11 export * as IdentifierName FromClause;
12 export NamedExports FromClause;
14 export VariableStatement
16 export default HoistableDeclaration[Default]
17 export default ClassDeclaration[Default]
18 export default [lookahead ∉ { function, class }] AssignmentExpression[In];
27 export default function() {}();