aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/array/length/cannot_be_function.sol
diff options
context:
space:
mode:
Diffstat (limited to 'test/libsolidity/syntaxTests/array/length/cannot_be_function.sol')
-rw-r--r--test/libsolidity/syntaxTests/array/length/cannot_be_function.sol4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/libsolidity/syntaxTests/array/length/cannot_be_function.sol b/test/libsolidity/syntaxTests/array/length/cannot_be_function.sol
index ac3abc4c..2ad97d27 100644
--- a/test/libsolidity/syntaxTests/array/length/cannot_be_function.sol
+++ b/test/libsolidity/syntaxTests/array/length/cannot_be_function.sol
@@ -1,6 +1,6 @@
contract C {
- function f() {}
+ function f() public {}
uint[f] ids;
}
// ----
-// TypeError: (42-43): Invalid array length, expected integer literal or constant expression.
+// TypeError: (49-50): Invalid array length, expected integer literal or constant expression.