aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/memberLookup
diff options
context:
space:
mode:
Diffstat (limited to 'test/libsolidity/syntaxTests/memberLookup')
-rw-r--r--test/libsolidity/syntaxTests/memberLookup/msg_value_modifier_view.sol2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/syntaxTests/memberLookup/msg_value_modifier_view.sol b/test/libsolidity/syntaxTests/memberLookup/msg_value_modifier_view.sol
index 49a3139c..8430c5c3 100644
--- a/test/libsolidity/syntaxTests/memberLookup/msg_value_modifier_view.sol
+++ b/test/libsolidity/syntaxTests/memberLookup/msg_value_modifier_view.sol
@@ -3,4 +3,4 @@ contract C {
function f() costs(1 ether) public view {}
}
// ----
-// Warning: (101-115): This modifier uses "msg.value" and thus the function should be payable.
+// TypeError: (101-115): This modifier uses "msg.value" and thus the function has to be payable or internal.