mirror of
				https://github.com/tc39/test262.git
				synced 2025-11-03 21:24:30 +01:00 
			
		
		
		
	Introduce the `module` flag to unambiguously identify tests that are intended to be interpreted as module code.
		
			
				
	
	
		
			15 lines
		
	
	
		
			365 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			365 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
// Copyright (C) Copyright 2015 the V8 project authors. All rights reserved.
 | 
						|
// This code is governed by the BSD license found in the LICENSE file.
 | 
						|
/*---
 | 
						|
es6id: 15.2.1.1
 | 
						|
description: >
 | 
						|
    It is a Syntax Error if the ExportedNames of ModuleItemList contains any
 | 
						|
    duplicate entries.
 | 
						|
flags: [module]
 | 
						|
negative: SyntaxError
 | 
						|
---*/
 | 
						|
 | 
						|
var x;
 | 
						|
export { x };
 | 
						|
export { x };
 |