mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			278 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			278 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
| contract C {
 | |
|     event MyCustomEvent(uint);
 | |
|     function f() pure public {
 | |
|         true ? MyCustomEvent : MyCustomEvent;
 | |
|     }
 | |
| }
 | |
| 
 | |
| // ----
 | |
| // TypeError 9717: (90-103): Invalid mobile type in true expression.
 | |
| // TypeError 3703: (106-119): Invalid mobile type in false expression.
 |