diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2018-07-24 07:36:39 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2018-07-25 17:45:31 +0800 |
commit | d647761058e3bb4b32846bd8b51f2de72fb85169 (patch) | |
tree | 56aca573199cc89c556ef8947d08e58d2c5e7ddb /test/libsolidity/syntaxTests/inlineAssembly/assignment_from_super.sol | |
parent | 167fe7c3706ba19713cd5727b62e7f019ad664d6 (diff) | |
download | dexon-solidity-d647761058e3bb4b32846bd8b51f2de72fb85169.tar dexon-solidity-d647761058e3bb4b32846bd8b51f2de72fb85169.tar.gz dexon-solidity-d647761058e3bb4b32846bd8b51f2de72fb85169.tar.bz2 dexon-solidity-d647761058e3bb4b32846bd8b51f2de72fb85169.tar.lz dexon-solidity-d647761058e3bb4b32846bd8b51f2de72fb85169.tar.xz dexon-solidity-d647761058e3bb4b32846bd8b51f2de72fb85169.tar.zst dexon-solidity-d647761058e3bb4b32846bd8b51f2de72fb85169.zip |
Add more comprehensive tests for embedded inline assembly LValue/RValue access
Diffstat (limited to 'test/libsolidity/syntaxTests/inlineAssembly/assignment_from_super.sol')
-rw-r--r-- | test/libsolidity/syntaxTests/inlineAssembly/assignment_from_super.sol | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/libsolidity/syntaxTests/inlineAssembly/assignment_from_super.sol b/test/libsolidity/syntaxTests/inlineAssembly/assignment_from_super.sol new file mode 100644 index 00000000..bd5562d5 --- /dev/null +++ b/test/libsolidity/syntaxTests/inlineAssembly/assignment_from_super.sol @@ -0,0 +1,9 @@ +contract C { + function f() public pure { + assembly { + let x := super + } + } +} +// ---- +// DeclarationError: (72-77): Identifier not found. |