diff options
Diffstat (limited to 'test/libsolidity/syntaxTests/controlFlow/unreachableCode/comment_fine.sol')
-rw-r--r-- | test/libsolidity/syntaxTests/controlFlow/unreachableCode/comment_fine.sol | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/libsolidity/syntaxTests/controlFlow/unreachableCode/comment_fine.sol b/test/libsolidity/syntaxTests/controlFlow/unreachableCode/comment_fine.sol new file mode 100644 index 00000000..17119ca6 --- /dev/null +++ b/test/libsolidity/syntaxTests/controlFlow/unreachableCode/comment_fine.sol @@ -0,0 +1,6 @@ +contract C { + function f() public pure { + return; + // unreachable comment + } +} |