mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 14:32:46 +00:00 
			
		
		
		
	JSSpecCompiler: Add our first test :^)
This commit is contained in:
		
							parent
							
								
									107a3b44fa
								
							
						
					
					
						commit
						00928764e9
					
				
					 4 changed files with 138 additions and 1 deletions
				
			
		|  | @ -0,0 +1,18 @@ | |||
| auto f(auto cond1, auto cond2) | ||||
| { | ||||
|     int a; | ||||
|     int b; | ||||
| 
 | ||||
|     if (cond1) { | ||||
|         a = 1; | ||||
|         if (cond2) { | ||||
|             b = a; | ||||
|         } else { | ||||
|             b = 3; | ||||
|         } | ||||
|     } else { | ||||
|         b = 4; | ||||
|     } | ||||
| 
 | ||||
|     return b; | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Klishch
						Dan Klishch