diff options
author | chriseth <chris@ethereum.org> | 2017-08-31 19:13:35 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2017-09-06 19:52:29 +0800 |
commit | d6861d909c7dabb6993cfa7a8269f76c613428f7 (patch) | |
tree | fd3da3822fb4d9a4ee2d615960109b764cfb876e /test/libsolidity/SolidityNameAndTypeResolution.cpp | |
parent | 7c61a6daf2052afaba86ad52623028cc8e14572b (diff) | |
download | dexon-solidity-d6861d909c7dabb6993cfa7a8269f76c613428f7.tar dexon-solidity-d6861d909c7dabb6993cfa7a8269f76c613428f7.tar.gz dexon-solidity-d6861d909c7dabb6993cfa7a8269f76c613428f7.tar.bz2 dexon-solidity-d6861d909c7dabb6993cfa7a8269f76c613428f7.tar.lz dexon-solidity-d6861d909c7dabb6993cfa7a8269f76c613428f7.tar.xz dexon-solidity-d6861d909c7dabb6993cfa7a8269f76c613428f7.tar.zst dexon-solidity-d6861d909c7dabb6993cfa7a8269f76c613428f7.zip |
Analyze assembly.
Diffstat (limited to 'test/libsolidity/SolidityNameAndTypeResolution.cpp')
-rw-r--r-- | test/libsolidity/SolidityNameAndTypeResolution.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/libsolidity/SolidityNameAndTypeResolution.cpp b/test/libsolidity/SolidityNameAndTypeResolution.cpp index 800f102b..6886fcd0 100644 --- a/test/libsolidity/SolidityNameAndTypeResolution.cpp +++ b/test/libsolidity/SolidityNameAndTypeResolution.cpp @@ -5234,7 +5234,7 @@ BOOST_AUTO_TEST_CASE(inline_assembly_storage_variable_access_out_of_functions) char const* text = R"( contract test { uint a; - function f() { + function f() pure { assembly { function g() -> x { x := a_slot } } @@ -5921,7 +5921,7 @@ BOOST_AUTO_TEST_CASE(no_unused_inline_asm) { char const* text = R"( contract C { - function f() { + function f() pure { uint a; assembly { a := 1 |