mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
		
			352 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			352 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
| contract A {
 | |
|     uint public x;
 | |
|     // Signature is d88e0b00
 | |
|     function fow() public { x = 3; }
 | |
|     fallback () external { x = 2; }
 | |
| }
 | |
| // ====
 | |
| // compileViaYul: also
 | |
| // compileToEwasm: also
 | |
| // ----
 | |
| // (): hex"d88e0b"
 | |
| // x() -> 2
 | |
| // (): hex"d88e0b00"
 | |
| // x() -> 3
 | |
| // (): hex"d88e"
 | |
| // x() -> 2
 | |
| // (): hex"d88e0b00"
 | |
| // x() -> 3
 | |
| // (): hex"d8"
 | |
| // x() -> 2
 |