mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	Merge pull request #7789 from ethereum/updateTests060
Update tests after merge from develop.
This commit is contained in:
		
						commit
						a8578d1214
					
				@ -35,13 +35,9 @@ object \"C_10\" {
 | 
				
			|||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        function fun_f_9()  -> vloc__4 {
 | 
					        function fun_f_9()  -> vloc__4 {
 | 
				
			||||||
            for { let return_flag := 1 } return_flag {} {
 | 
					            vloc__4 := convert_t_stringliteral_9f0adad0a59b05d2e04a1373342b10b9eb16c57c164c8a3bfcbf46dccee39a21_to_t_string_memory_ptr()
 | 
				
			||||||
                vloc__4 := convert_t_stringliteral_9f0adad0a59b05d2e04a1373342b10b9eb16c57c164c8a3bfcbf46dccee39a21_to_t_string_memory_ptr()
 | 
					            leave
 | 
				
			||||||
                return_flag := 0
 | 
					 | 
				
			||||||
                break
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
                break
 | 
					 | 
				
			||||||
            }
 | 
					 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
@ -67,6 +63,7 @@ object \"C_10\" {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
                default {}
 | 
					                default {}
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					            if iszero(calldatasize()) {  }
 | 
				
			||||||
            revert(0, 0)
 | 
					            revert(0, 0)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -134,13 +131,9 @@ object \"C_10\" {
 | 
				
			|||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            function fun_f_9()  -> vloc__4 {
 | 
					            function fun_f_9()  -> vloc__4 {
 | 
				
			||||||
                for { let return_flag := 1 } return_flag {} {
 | 
					                vloc__4 := convert_t_stringliteral_9f0adad0a59b05d2e04a1373342b10b9eb16c57c164c8a3bfcbf46dccee39a21_to_t_string_memory_ptr()
 | 
				
			||||||
                    vloc__4 := convert_t_stringliteral_9f0adad0a59b05d2e04a1373342b10b9eb16c57c164c8a3bfcbf46dccee39a21_to_t_string_memory_ptr()
 | 
					                leave
 | 
				
			||||||
                    return_flag := 0
 | 
					 | 
				
			||||||
                    break
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
                    break
 | 
					 | 
				
			||||||
                }
 | 
					 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            function round_up_to_mul_of_32(value) -> result {
 | 
					            function round_up_to_mul_of_32(value) -> result {
 | 
				
			||||||
 | 
				
			|||||||
@ -23,13 +23,9 @@ object \"C_10\" {
 | 
				
			|||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        function fun_f_9()  -> vloc__4 {
 | 
					        function fun_f_9()  -> vloc__4 {
 | 
				
			||||||
            for { let return_flag := 1 } return_flag {} {
 | 
					            vloc__4 := convert_t_stringliteral_9f0adad0a59b05d2e04a1373342b10b9eb16c57c164c8a3bfcbf46dccee39a21_to_t_bytes32()
 | 
				
			||||||
                vloc__4 := convert_t_stringliteral_9f0adad0a59b05d2e04a1373342b10b9eb16c57c164c8a3bfcbf46dccee39a21_to_t_bytes32()
 | 
					            leave
 | 
				
			||||||
                return_flag := 0
 | 
					 | 
				
			||||||
                break
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
                break
 | 
					 | 
				
			||||||
            }
 | 
					 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
@ -55,6 +51,7 @@ object \"C_10\" {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
                default {}
 | 
					                default {}
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					            if iszero(calldatasize()) {  }
 | 
				
			||||||
            revert(0, 0)
 | 
					            revert(0, 0)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -91,13 +88,9 @@ object \"C_10\" {
 | 
				
			|||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            function fun_f_9()  -> vloc__4 {
 | 
					            function fun_f_9()  -> vloc__4 {
 | 
				
			||||||
                for { let return_flag := 1 } return_flag {} {
 | 
					                vloc__4 := convert_t_stringliteral_9f0adad0a59b05d2e04a1373342b10b9eb16c57c164c8a3bfcbf46dccee39a21_to_t_bytes32()
 | 
				
			||||||
                    vloc__4 := convert_t_stringliteral_9f0adad0a59b05d2e04a1373342b10b9eb16c57c164c8a3bfcbf46dccee39a21_to_t_bytes32()
 | 
					                leave
 | 
				
			||||||
                    return_flag := 0
 | 
					 | 
				
			||||||
                    break
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
                    break
 | 
					 | 
				
			||||||
                }
 | 
					 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            function shift_right_224_unsigned(value) -> newValue {
 | 
					            function shift_right_224_unsigned(value) -> newValue {
 | 
				
			||||||
 | 
				
			|||||||
@ -27,14 +27,10 @@ object \"C_10\" {
 | 
				
			|||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        function fun_f_9()  -> vloc__4 {
 | 
					        function fun_f_9()  -> vloc__4 {
 | 
				
			||||||
            for { let return_flag := 1 } return_flag {} {
 | 
					            let expr_6 := 0x61626364
 | 
				
			||||||
                let expr_6 := 0x61626364
 | 
					            vloc__4 := convert_t_rational_1633837924_by_1_to_t_bytes4(expr_6)
 | 
				
			||||||
                vloc__4 := convert_t_rational_1633837924_by_1_to_t_bytes4(expr_6)
 | 
					            leave
 | 
				
			||||||
                return_flag := 0
 | 
					 | 
				
			||||||
                break
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
                break
 | 
					 | 
				
			||||||
            }
 | 
					 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        function shift_left_224(value) -> newValue {
 | 
					        function shift_left_224(value) -> newValue {
 | 
				
			||||||
@ -67,6 +63,7 @@ object \"C_10\" {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
                default {}
 | 
					                default {}
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					            if iszero(calldatasize()) {  }
 | 
				
			||||||
            revert(0, 0)
 | 
					            revert(0, 0)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -107,14 +104,10 @@ object \"C_10\" {
 | 
				
			|||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            function fun_f_9()  -> vloc__4 {
 | 
					            function fun_f_9()  -> vloc__4 {
 | 
				
			||||||
                for { let return_flag := 1 } return_flag {} {
 | 
					                let expr_6 := 0x61626364
 | 
				
			||||||
                    let expr_6 := 0x61626364
 | 
					                vloc__4 := convert_t_rational_1633837924_by_1_to_t_bytes4(expr_6)
 | 
				
			||||||
                    vloc__4 := convert_t_rational_1633837924_by_1_to_t_bytes4(expr_6)
 | 
					                leave
 | 
				
			||||||
                    return_flag := 0
 | 
					 | 
				
			||||||
                    break
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
                    break
 | 
					 | 
				
			||||||
                }
 | 
					 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            function shift_left_224(value) -> newValue {
 | 
					            function shift_left_224(value) -> newValue {
 | 
				
			||||||
 | 
				
			|||||||
@ -39,13 +39,9 @@ object \"C_10\" {
 | 
				
			|||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        function fun_f_9()  -> vloc__4 {
 | 
					        function fun_f_9()  -> vloc__4 {
 | 
				
			||||||
            for { let return_flag := 1 } return_flag {} {
 | 
					            vloc__4 := convert_t_stringliteral_d6604f85ac07e2b33103a620b3d3d75b0473c7214912beded67b9b624d41c571_to_t_string_memory_ptr()
 | 
				
			||||||
                vloc__4 := convert_t_stringliteral_d6604f85ac07e2b33103a620b3d3d75b0473c7214912beded67b9b624d41c571_to_t_string_memory_ptr()
 | 
					            leave
 | 
				
			||||||
                return_flag := 0
 | 
					 | 
				
			||||||
                break
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
                break
 | 
					 | 
				
			||||||
            }
 | 
					 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
@ -71,6 +67,7 @@ object \"C_10\" {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
                default {}
 | 
					                default {}
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					            if iszero(calldatasize()) {  }
 | 
				
			||||||
            revert(0, 0)
 | 
					            revert(0, 0)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -142,13 +139,9 @@ object \"C_10\" {
 | 
				
			|||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            function fun_f_9()  -> vloc__4 {
 | 
					            function fun_f_9()  -> vloc__4 {
 | 
				
			||||||
                for { let return_flag := 1 } return_flag {} {
 | 
					                vloc__4 := convert_t_stringliteral_d6604f85ac07e2b33103a620b3d3d75b0473c7214912beded67b9b624d41c571_to_t_string_memory_ptr()
 | 
				
			||||||
                    vloc__4 := convert_t_stringliteral_d6604f85ac07e2b33103a620b3d3d75b0473c7214912beded67b9b624d41c571_to_t_string_memory_ptr()
 | 
					                leave
 | 
				
			||||||
                    return_flag := 0
 | 
					 | 
				
			||||||
                    break
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
                    break
 | 
					 | 
				
			||||||
                }
 | 
					 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            function round_up_to_mul_of_32(value) -> result {
 | 
					            function round_up_to_mul_of_32(value) -> result {
 | 
				
			||||||
 | 
				
			|||||||
@ -27,14 +27,10 @@ object \"C_10\" {
 | 
				
			|||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        function fun_f_9()  -> vloc__4 {
 | 
					        function fun_f_9()  -> vloc__4 {
 | 
				
			||||||
            for { let return_flag := 1 } return_flag {} {
 | 
					            let expr_6 := 0xaabbccdd
 | 
				
			||||||
                let expr_6 := 0xaabbccdd
 | 
					            vloc__4 := convert_t_rational_2864434397_by_1_to_t_bytes4(expr_6)
 | 
				
			||||||
                vloc__4 := convert_t_rational_2864434397_by_1_to_t_bytes4(expr_6)
 | 
					            leave
 | 
				
			||||||
                return_flag := 0
 | 
					 | 
				
			||||||
                break
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
                break
 | 
					 | 
				
			||||||
            }
 | 
					 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        function shift_left_224(value) -> newValue {
 | 
					        function shift_left_224(value) -> newValue {
 | 
				
			||||||
@ -67,6 +63,7 @@ object \"C_10\" {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
                default {}
 | 
					                default {}
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					            if iszero(calldatasize()) {  }
 | 
				
			||||||
            revert(0, 0)
 | 
					            revert(0, 0)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -107,14 +104,10 @@ object \"C_10\" {
 | 
				
			|||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            function fun_f_9()  -> vloc__4 {
 | 
					            function fun_f_9()  -> vloc__4 {
 | 
				
			||||||
                for { let return_flag := 1 } return_flag {} {
 | 
					                let expr_6 := 0xaabbccdd
 | 
				
			||||||
                    let expr_6 := 0xaabbccdd
 | 
					                vloc__4 := convert_t_rational_2864434397_by_1_to_t_bytes4(expr_6)
 | 
				
			||||||
                    vloc__4 := convert_t_rational_2864434397_by_1_to_t_bytes4(expr_6)
 | 
					                leave
 | 
				
			||||||
                    return_flag := 0
 | 
					 | 
				
			||||||
                    break
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
                    break
 | 
					 | 
				
			||||||
                }
 | 
					 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            function shift_left_224(value) -> newValue {
 | 
					            function shift_left_224(value) -> newValue {
 | 
				
			||||||
 | 
				
			|||||||
@ -5,4 +5,4 @@ contract test {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
// ----
 | 
					// ----
 | 
				
			||||||
// ParserError: (108-112): Expected even number of hex-nibbles within double-quotes.
 | 
					// ParserError: (108-112): Expected even number of hex-nibbles.
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user