diff options
Add expectations.
Diffstat (limited to 'test/libsolidity/syntaxTests/functionTypes/call_value_on_non_payable_function_type.sol')
-rw-r--r-- | test/libsolidity/syntaxTests/functionTypes/call_value_on_non_payable_function_type.sol | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/libsolidity/syntaxTests/functionTypes/call_value_on_non_payable_function_type.sol b/test/libsolidity/syntaxTests/functionTypes/call_value_on_non_payable_function_type.sol index dac7908f..87c3b05b 100644 --- a/test/libsolidity/syntaxTests/functionTypes/call_value_on_non_payable_function_type.sol +++ b/test/libsolidity/syntaxTests/functionTypes/call_value_on_non_payable_function_type.sol @@ -4,3 +4,5 @@ contract C { x.value(2)(); } } +// ---- +// TypeError: (94-101): Member "value" not found or not visible after argument-dependent lookup in function (uint256) external returns (uint256) - did you forget the "payable" modifier? |