mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
		
			266 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			266 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
| ==== Source: A ====
 | |
| 
 | |
| error E();
 | |
| 
 | |
| ==== Source: B ====
 | |
| 
 | |
| error E();
 | |
| 
 | |
| ==== Source: C ====
 | |
| 
 | |
| import "A" as A;
 | |
| import "B" as B;
 | |
| 
 | |
| contract Test {
 | |
|     function f() public pure {
 | |
|         revert A.E();
 | |
|     }
 | |
|     function g() public pure {
 | |
|         revert B.E();
 | |
|     }
 | |
| }
 | |
| // ----
 |