mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Added default data locations to parameters for syntax tests.
This commit is contained in:
@@ -9,7 +9,7 @@ contract TestContract
|
||||
SubStruct subStruct1;
|
||||
SubStruct subStruct2;
|
||||
}
|
||||
function addTestStruct(TestStruct) public pure {}
|
||||
function addTestStruct(TestStruct memory) public pure {}
|
||||
}
|
||||
// ----
|
||||
// Warning: (0-33): Experimental features are turned on. Do not use experimental features on live deployments.
|
||||
|
||||
Reference in New Issue
Block a user