aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/ASTLegacyJSON.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/libsolidity/ASTLegacyJSON.cpp')
-rw-r--r--test/libsolidity/ASTLegacyJSON.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/ASTLegacyJSON.cpp b/test/libsolidity/ASTLegacyJSON.cpp
index 13148682..cd8384ea 100644
--- a/test/libsolidity/ASTLegacyJSON.cpp
+++ b/test/libsolidity/ASTLegacyJSON.cpp
@@ -252,7 +252,7 @@ BOOST_AUTO_TEST_CASE(function_type)
CompilerStack c;
c.addSource("a",
"contract C { function f(function() external payable returns (uint) x) "
- "returns (function() external constant returns (uint)) {} }"
+ "returns (function() external view returns (uint)) {} }"
);
c.setEVMVersion(dev::test::Options::get().evmVersion());
c.parseAndAnalyze();