diff options
Diffstat (limited to 'test/libsolidity/syntaxTests/dataLocations/data_location_in_function_type.sol')
-rw-r--r-- | test/libsolidity/syntaxTests/dataLocations/data_location_in_function_type.sol | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/libsolidity/syntaxTests/dataLocations/data_location_in_function_type.sol b/test/libsolidity/syntaxTests/dataLocations/data_location_in_function_type.sol new file mode 100644 index 00000000..b23fbb89 --- /dev/null +++ b/test/libsolidity/syntaxTests/dataLocations/data_location_in_function_type.sol @@ -0,0 +1,4 @@ +library L { + struct Nested { uint y; } + function c(function(Nested memory) external returns (uint)[] storage) external pure {} +} |