aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/inlineAssembly/storage_reference.sol
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-07-11 03:39:25 +0800
committerGitHub <noreply@github.com>2018-07-11 03:39:25 +0800
commitd84976dc871a1fdfab233650b989af69e325bf2b (patch)
tree146c0efc9c43d26617993cf5e8fc1e5cc592def6 /test/libsolidity/syntaxTests/inlineAssembly/storage_reference.sol
parent49cc1b855464d428f022267b5997dfc093ea1b44 (diff)
parentbc6b42a9f6056f9e6e3bf9467562fd61c044e95b (diff)
downloaddexon-solidity-d84976dc871a1fdfab233650b989af69e325bf2b.tar
dexon-solidity-d84976dc871a1fdfab233650b989af69e325bf2b.tar.gz
dexon-solidity-d84976dc871a1fdfab233650b989af69e325bf2b.tar.bz2
dexon-solidity-d84976dc871a1fdfab233650b989af69e325bf2b.tar.lz
dexon-solidity-d84976dc871a1fdfab233650b989af69e325bf2b.tar.xz
dexon-solidity-d84976dc871a1fdfab233650b989af69e325bf2b.tar.zst
dexon-solidity-d84976dc871a1fdfab233650b989af69e325bf2b.zip
Merge pull request #4376 from ethereum/fallbackExternal
Fallback functions have to be external
Diffstat (limited to 'test/libsolidity/syntaxTests/inlineAssembly/storage_reference.sol')
-rw-r--r--test/libsolidity/syntaxTests/inlineAssembly/storage_reference.sol4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/libsolidity/syntaxTests/inlineAssembly/storage_reference.sol b/test/libsolidity/syntaxTests/inlineAssembly/storage_reference.sol
index 55c83674..b6dd12b8 100644
--- a/test/libsolidity/syntaxTests/inlineAssembly/storage_reference.sol
+++ b/test/libsolidity/syntaxTests/inlineAssembly/storage_reference.sol
@@ -1,6 +1,6 @@
contract C {
uint[] x;
- function() public {
+ function() external {
uint[] storage y = x;
assembly {
pop(y)
@@ -8,4 +8,4 @@ contract C {
}
}
// ----
-// TypeError: (117-118): You have to use the _slot or _offset suffix to access storage reference variables.
+// TypeError: (119-120): You have to use the _slot or _offset suffix to access storage reference variables.