mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Operator bound to function pointer test case
This commit is contained in:
parent
ea5309a9e6
commit
23bea46d04
@ -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.
|
Loading…
Reference in New Issue
Block a user