mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
		
			300 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			300 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
contract C {
 | 
						|
    bytes32 public x;
 | 
						|
    uint256 public a;
 | 
						|
 | 
						|
    function f(bytes32 _x, uint256 _a) public {
 | 
						|
        x = _x;
 | 
						|
        a = _a;
 | 
						|
    }
 | 
						|
 | 
						|
    function g() public {
 | 
						|
        this.f("", 2);
 | 
						|
    }
 | 
						|
}
 | 
						|
 | 
						|
// ====
 | 
						|
// compileViaYul: also
 | 
						|
// ----
 | 
						|
// x() -> 0
 | 
						|
// a() -> 0
 | 
						|
// g() ->
 | 
						|
// x() -> 0
 | 
						|
// a() -> 2
 |