Operator bound to function pointer test case

This commit is contained in:
wechman 2022-09-19 14:37:55 +02:00
parent ea5309a9e6
commit 23bea46d04

View File

@ -0,0 +1,9 @@
type Int is int8;
contract C {
function(Int, Int) external returns (Int) ptr;
using {ptr as +} for Int;
}
// ----
// TypeError 8187: (94-97): Expected function name.