solidity/test/libsolidity/semanticTests/inlineAssembly/leave.sol
Marenz 5663fbb903 Merge branch 'develop' into breaking
Manual Resolved Conflicts:
	Changelog.md
	 * Updated changelog
	test/externalTests/ens.sh
	 * Merged fixes for upstream from both develop and breaking
	test/libsolidity/semanticTests/inlineAssembly/external_identifier_access_shadowing.sol
	 * Removed in #11735 (breaking)
	test/libsolidity/semanticTests/inlineAssembly/function_name_clash.sol
	 * Removed in #12209 (breaking)
	test/libsolidity/semanticTests/storage/mappings_array2d_pop_delete.sol
	 * Removed in #11843 (breaking)
	test/libsolidity/semanticTests/storage/mappings_array_pop_delete.sol
	 * Removed in #11843 (breaking)
	test/libsolidity/syntaxTests/inlineAssembly/basefee_berlin_function.sol
	 * Used version of file from #11842 (breaking)
2022-08-30 18:07:20 +02:00

17 lines
285 B
Solidity

contract C {
function g() public pure returns (uint w) {
assembly {
function f() -> t {
t := 2
leave
t := 9
}
w := f()
}
}
}
// ====
// compileToEwasm: also
// ----
// g() -> 2