diff options
author | Erik Kundt <bitshift@posteo.org> | 2018-07-02 23:47:48 +0800 |
---|---|---|
committer | Erik Kundt <bitshift@posteo.org> | 2018-07-04 16:45:59 +0800 |
commit | 2e0d019ef09ac4f168a4e528f8b4a051a942a479 (patch) | |
tree | eff18ba14670133da9c777fb446bc94e2ea0a2cb /test/libsolidity/syntaxTests/dataLocations | |
parent | 533d5d4b1cc4374decc704de8c86ad4cef6214fc (diff) | |
download | dexon-solidity-2e0d019ef09ac4f168a4e528f8b4a051a942a479.tar.gz dexon-solidity-2e0d019ef09ac4f168a4e528f8b4a051a942a479.tar.zst dexon-solidity-2e0d019ef09ac4f168a4e528f8b4a051a942a479.zip |
Adds default visibility specifier to syntax tests.
Diffstat (limited to 'test/libsolidity/syntaxTests/dataLocations')
-rw-r--r-- | test/libsolidity/syntaxTests/dataLocations/variable_declaration_location_specifier_test_non_reference_type.sol | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/libsolidity/syntaxTests/dataLocations/variable_declaration_location_specifier_test_non_reference_type.sol b/test/libsolidity/syntaxTests/dataLocations/variable_declaration_location_specifier_test_non_reference_type.sol index 876d6fd6..ac312685 100644 --- a/test/libsolidity/syntaxTests/dataLocations/variable_declaration_location_specifier_test_non_reference_type.sol +++ b/test/libsolidity/syntaxTests/dataLocations/variable_declaration_location_specifier_test_non_reference_type.sol @@ -1,5 +1,5 @@ contract test { - function f() { + function f() public { uint storage a1; bytes16 storage b1; uint memory a2; @@ -7,7 +7,7 @@ contract test { } } // ---- -// TypeError: (41-56): Data location can only be given for array or struct types. -// TypeError: (64-82): Data location can only be given for array or struct types. -// TypeError: (90-104): Data location can only be given for array or struct types. -// TypeError: (112-129): Data location can only be given for array or struct types. +// TypeError: (48-63): Data location can only be given for array or struct types. +// TypeError: (71-89): Data location can only be given for array or struct types. +// TypeError: (97-111): Data location can only be given for array or struct types. +// TypeError: (119-136): Data location can only be given for array or struct types. |