mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			266 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			266 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
contract Foo {
 | 
						|
    uint256 constant x = 56;
 | 
						|
    enum ActionChoices {GoLeft, GoRight, GoStraight, Sit}
 | 
						|
    ActionChoices constant choices = ActionChoices.GoLeft;
 | 
						|
    bytes32 constant st = "abc\x00\xff__";
 | 
						|
}
 | 
						|
 | 
						|
// ====
 | 
						|
// compileViaYul: also
 | 
						|
// ----
 | 
						|
// constructor() ->
 |