aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/types/mapping/function_type_return_internal.sol
diff options
context:
space:
mode:
Diffstat (limited to 'test/libsolidity/syntaxTests/types/mapping/function_type_return_internal.sol')
-rw-r--r--test/libsolidity/syntaxTests/types/mapping/function_type_return_internal.sol4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/libsolidity/syntaxTests/types/mapping/function_type_return_internal.sol b/test/libsolidity/syntaxTests/types/mapping/function_type_return_internal.sol
new file mode 100644
index 00000000..bd298e5d
--- /dev/null
+++ b/test/libsolidity/syntaxTests/types/mapping/function_type_return_internal.sol
@@ -0,0 +1,4 @@
+contract C {
+ function f(function() internal returns (mapping(uint=>uint) storage)) internal pure {
+ }
+}