aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/inlineAssembly
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2018-08-07 20:17:56 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-08-07 20:18:54 +0800
commit05cc7e79e1bf484c71ce93510fbfbf2c3e415cc6 (patch)
tree795453abee9aa819951ee8a532de623d8719a648 /test/libsolidity/syntaxTests/inlineAssembly
parenteb7b3862ac5089615710d07c9a56b8edc0472394 (diff)
downloaddexon-solidity-05cc7e79e1bf484c71ce93510fbfbf2c3e415cc6.tar
dexon-solidity-05cc7e79e1bf484c71ce93510fbfbf2c3e415cc6.tar.gz
dexon-solidity-05cc7e79e1bf484c71ce93510fbfbf2c3e415cc6.tar.bz2
dexon-solidity-05cc7e79e1bf484c71ce93510fbfbf2c3e415cc6.tar.lz
dexon-solidity-05cc7e79e1bf484c71ce93510fbfbf2c3e415cc6.tar.xz
dexon-solidity-05cc7e79e1bf484c71ce93510fbfbf2c3e415cc6.tar.zst
dexon-solidity-05cc7e79e1bf484c71ce93510fbfbf2c3e415cc6.zip
More precise error message if using non-variables with _slot/_offset
Diffstat (limited to 'test/libsolidity/syntaxTests/inlineAssembly')
-rw-r--r--test/libsolidity/syntaxTests/inlineAssembly/storage_reference_on_function.sol2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/syntaxTests/inlineAssembly/storage_reference_on_function.sol b/test/libsolidity/syntaxTests/inlineAssembly/storage_reference_on_function.sol
index 6838e7a4..9165654f 100644
--- a/test/libsolidity/syntaxTests/inlineAssembly/storage_reference_on_function.sol
+++ b/test/libsolidity/syntaxTests/inlineAssembly/storage_reference_on_function.sol
@@ -6,4 +6,4 @@ contract C {
}
}
// ----
-// DeclarationError: (84-90): Identifier not found.
+// TypeError: (84-90): The suffixes _offset and _slot can only be used on storage variables.