aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/tight_packing_literals_fine.sol
diff options
context:
space:
mode:
authorChase McDermott <chasemcd1745@tamu.edu>2018-07-12 09:24:50 +0800
committerChase McDermott <chasemcd1745@tamu.edu>2018-07-12 09:24:50 +0800
commitfc78b32847ce462bbcc443bbf269a1bdd8bcc99e (patch)
tree54ac5642482c44be352ea327f1f833edf3232d18 /test/libsolidity/syntaxTests/tight_packing_literals_fine.sol
parent71777ce729d9cf2a536fe966de6c6dd1ee43c807 (diff)
downloaddexon-solidity-fc78b32847ce462bbcc443bbf269a1bdd8bcc99e.tar
dexon-solidity-fc78b32847ce462bbcc443bbf269a1bdd8bcc99e.tar.gz
dexon-solidity-fc78b32847ce462bbcc443bbf269a1bdd8bcc99e.tar.bz2
dexon-solidity-fc78b32847ce462bbcc443bbf269a1bdd8bcc99e.tar.lz
dexon-solidity-fc78b32847ce462bbcc443bbf269a1bdd8bcc99e.tar.xz
dexon-solidity-fc78b32847ce462bbcc443bbf269a1bdd8bcc99e.tar.zst
dexon-solidity-fc78b32847ce462bbcc443bbf269a1bdd8bcc99e.zip
Added default data locations to parameters for syntax tests.
Diffstat (limited to 'test/libsolidity/syntaxTests/tight_packing_literals_fine.sol')
-rw-r--r--test/libsolidity/syntaxTests/tight_packing_literals_fine.sol4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/libsolidity/syntaxTests/tight_packing_literals_fine.sol b/test/libsolidity/syntaxTests/tight_packing_literals_fine.sol
index 7bbc36d0..45fc1f72 100644
--- a/test/libsolidity/syntaxTests/tight_packing_literals_fine.sol
+++ b/test/libsolidity/syntaxTests/tight_packing_literals_fine.sol
@@ -1,8 +1,8 @@
contract C {
- function k() pure public returns (bytes) {
+ function k() pure public returns (bytes memory) {
return abi.encodePacked(uint8(1));
}
- function l() pure public returns (bytes) {
+ function l() pure public returns (bytes memory) {
return abi.encode(1);
}
}