mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
		
			229 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			229 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
contract A {
 | 
						|
    function f() public {
 | 
						|
        new B();
 | 
						|
    }
 | 
						|
}
 | 
						|
 | 
						|
 | 
						|
contract B {
 | 
						|
    function f() public {}
 | 
						|
}
 | 
						|
 | 
						|
 | 
						|
contract C {
 | 
						|
    function f() public {
 | 
						|
        new B();
 | 
						|
    }
 | 
						|
}
 | 
						|
// ----
 | 
						|
// constructor() ->
 | 
						|
// gas irOptimized: 100415
 |