mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			8 lines
		
	
	
		
			149 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			149 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
| contract c {
 | |
|     enum validEnum { Value1, Value2, Value3, Value4 }
 | |
|     constructor() public {
 | |
|         a = validEnum.Value3;
 | |
|     }
 | |
|     validEnum a;
 | |
| }
 |