mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			282 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			282 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
| contract C {
 | |
|     uint constant a = 12;
 | |
|     uint constant b = 10;
 | |
| 
 | |
|     function f() public pure returns (uint, uint) {
 | |
|         uint[(a / b) * b] memory x;
 | |
|         return (x.length, (a / b) * b);
 | |
|     }
 | |
| }
 | |
| // ====
 | |
| // compileViaYul: true
 | |
| // ----
 | |
| // constructor() ->
 | |
| // f() -> 0x0a, 0x0a
 |