repo.or.cz
/
gecko.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Bug 1892041 - Part 2: Update test262. r=spidermonkey-reviewers,dminor
[gecko.git]
/
js
/
src
/
tests
/
test262
/
language
/
module-code
/
parse-err-decl-pos-export-for-of-lhs.js
blob
4e2c05559fd7490176929b7943fb573672fc9315
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.
4
/*---
5
description: Statement cannot contain an `export` declaration
6
esid: sec-modules
7
negative:
8
phase: parse
9
type: SyntaxError
10
flags: [module]
11
---*/
12
13
$DONOTEVALUATE();
14
15
for (y of [])
16
export default null;