mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			260 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			260 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
| contract C {
 | |
|     bytes32 constant x = x;
 | |
|     function f() public pure returns (uint t) {
 | |
|         assembly {
 | |
|             // Reference to a circular member
 | |
|             t := x
 | |
|         }
 | |
|     }
 | |
| }
 | |
| // ----
 | |
| // TypeError 3558: (171-172): Constant variable is circular.
 |