mirror of
				https://github.com/tc39/test262.git
				synced 2025-10-31 03:34:08 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			28 lines
		
	
	
		
			654 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			654 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| // This file was procedurally generated from the following sources:
 | |
| // - src/dynamic-import/not-extensible-no-trailing-comma.case
 | |
| // - src/dynamic-import/syntax/invalid/top-level.template
 | |
| /*---
 | |
| description: ImportCall is not extensible - trailing comma (top level syntax)
 | |
| esid: sec-import-call-runtime-semantics-evaluation
 | |
| features: [dynamic-import]
 | |
| flags: [generated]
 | |
| negative:
 | |
|   phase: parse
 | |
|   type: SyntaxError
 | |
| info: |
 | |
|     ImportCall :
 | |
|         import( AssignmentExpression )
 | |
| 
 | |
| 
 | |
|     ImportCall :
 | |
|         import( AssignmentExpression[+In, ?Yield] )
 | |
| 
 | |
|     Forbidden Extensions
 | |
| 
 | |
|     - ImportCall must not be extended.
 | |
| ---*/
 | |
| 
 | |
| $DONOTEVALUATE();
 | |
| 
 | |
| import('',);
 |