1contract C { 2 function f() pure external { 3 assembly { 4 let s := returndatasize() 5 returndatacopy(0, 0, s) 6 } 7 } 8 function g() view external returns (uint ret) { 9 assembly { 10 ret := staticcall(0, gas(), 0, 0, 0, 0) 11 } 12 } 13} 14// ==== 15// EVMVersion: =homestead 16// ---- 17// TypeError 4778: (86-100): The "returndatasize" instruction is only available for Byzantium-compatible VMs (you are currently compiling for "homestead"). 18// DeclarationError 3812: (77-102): Variable count mismatch for declaration of "s": 1 variables and 0 values. 19// TypeError 7756: (115-129): The "returndatacopy" instruction is only available for Byzantium-compatible VMs (you are currently compiling for "homestead"). 20// TypeError 1503: (245-255): The "staticcall" instruction is only available for Byzantium-compatible VMs (you are currently compiling for "homestead"). 21// DeclarationError 8678: (238-277): Variable count for assignment to "ret" does not match number of values (1 vs. 0) 22