mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Added default data locations to parameters for end to end tests.
This commit is contained in:
committed by
chriseth
parent
c5ff173431
commit
f48d01d066
@@ -350,7 +350,7 @@ BOOST_AUTO_TEST_CASE(dynamic_return_types_not_possible)
|
||||
{
|
||||
char const* sourceCode = R"(
|
||||
contract C {
|
||||
function f(uint) public returns (string);
|
||||
function f(uint) public returns (string memory);
|
||||
function g() public {
|
||||
string memory x = this.f(2);
|
||||
// we can assign to x but it is not usable.
|
||||
|
||||
Reference in New Issue
Block a user