diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2018-08-06 18:42:39 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2018-08-06 19:03:00 +0800 |
commit | 2ab66bf7986d2d92091b75f95a7c61ed9632f65d (patch) | |
tree | 2642079532ac2fa5bde0ce36c91260a7ad3a1ece /test/libsolidity/syntaxTests/nameAndTypeResolution/385_inline_assembly_calldata_variables.sol | |
parent | 74e6067347eb822c2e107c29d6ea58f22b328de7 (diff) | |
download | dexon-solidity-2ab66bf7986d2d92091b75f95a7c61ed9632f65d.tar dexon-solidity-2ab66bf7986d2d92091b75f95a7c61ed9632f65d.tar.gz dexon-solidity-2ab66bf7986d2d92091b75f95a7c61ed9632f65d.tar.bz2 dexon-solidity-2ab66bf7986d2d92091b75f95a7c61ed9632f65d.tar.lz dexon-solidity-2ab66bf7986d2d92091b75f95a7c61ed9632f65d.tar.xz dexon-solidity-2ab66bf7986d2d92091b75f95a7c61ed9632f65d.tar.zst dexon-solidity-2ab66bf7986d2d92091b75f95a7c61ed9632f65d.zip |
Cleanup 0.5.0 test cases
Diffstat (limited to 'test/libsolidity/syntaxTests/nameAndTypeResolution/385_inline_assembly_calldata_variables.sol')
-rw-r--r-- | test/libsolidity/syntaxTests/nameAndTypeResolution/385_inline_assembly_calldata_variables.sol | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/libsolidity/syntaxTests/nameAndTypeResolution/385_inline_assembly_calldata_variables.sol b/test/libsolidity/syntaxTests/nameAndTypeResolution/385_inline_assembly_calldata_variables.sol index d95fd978..9e324ce1 100644 --- a/test/libsolidity/syntaxTests/nameAndTypeResolution/385_inline_assembly_calldata_variables.sol +++ b/test/libsolidity/syntaxTests/nameAndTypeResolution/385_inline_assembly_calldata_variables.sol @@ -1,4 +1,3 @@ -pragma experimental "v0.5.0"; contract C { function f(bytes bytesAsCalldata) external { assembly { @@ -7,4 +6,4 @@ contract C { } } // ---- -// TypeError: (132-147): Call data elements cannot be accessed directly. Copy to a local variable first or use "calldataload" or "calldatacopy" with manually determined offsets and sizes. +// TypeError: (102-117): Call data elements cannot be accessed directly. Copy to a local variable first or use "calldataload" or "calldatacopy" with manually determined offsets and sizes. |