diff options
author | chriseth <chris@ethereum.org> | 2018-10-11 23:45:12 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2018-10-12 00:41:26 +0800 |
commit | 49958e4720528e4ba325dfc0892888f319649aa9 (patch) | |
tree | bfd10ad6af18080e8b02d1cfdbd01aa1b4c25e00 /test/libjulia/yulOptimizerTests/mainFunction/nested_fun.yul | |
parent | 9cd577abe9d6a04147160ec2b14988dc5b4f5a28 (diff) | |
download | dexon-solidity-49958e4720528e4ba325dfc0892888f319649aa9.tar.gz dexon-solidity-49958e4720528e4ba325dfc0892888f319649aa9.tar.zst dexon-solidity-49958e4720528e4ba325dfc0892888f319649aa9.zip |
Move main function tests.
Diffstat (limited to 'test/libjulia/yulOptimizerTests/mainFunction/nested_fun.yul')
-rw-r--r-- | test/libjulia/yulOptimizerTests/mainFunction/nested_fun.yul | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/test/libjulia/yulOptimizerTests/mainFunction/nested_fun.yul b/test/libjulia/yulOptimizerTests/mainFunction/nested_fun.yul new file mode 100644 index 00000000..309b97cc --- /dev/null +++ b/test/libjulia/yulOptimizerTests/mainFunction/nested_fun.yul @@ -0,0 +1,26 @@ +// yul +{ + let a:u256 + function f() { + let b:u256 + function g() { let c:u256} + let d:u256 + } +} +// ---- +// mainFunction +// { +// function main() +// { +// let a:u256 +// } +// function f() +// { +// let b:u256 +// function g() +// { +// let c:u256 +// } +// let d:u256 +// } +// } |