diff options
Diffstat (limited to 'test/libyul/yulOptimizerTests/structuralSimplifier/switch_only_default.yul')
-rw-r--r-- | test/libyul/yulOptimizerTests/structuralSimplifier/switch_only_default.yul | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/libyul/yulOptimizerTests/structuralSimplifier/switch_only_default.yul b/test/libyul/yulOptimizerTests/structuralSimplifier/switch_only_default.yul new file mode 100644 index 00000000..7ca815a7 --- /dev/null +++ b/test/libyul/yulOptimizerTests/structuralSimplifier/switch_only_default.yul @@ -0,0 +1,11 @@ +{ + switch mload(0) default { mstore(1, 2) } +} +// ---- +// structuralSimplifier +// { +// pop(mload(0)) +// { +// mstore(1, 2) +// } +// } |