diff options
Diffstat (limited to 'test/libsolidity/syntaxTests/constants/mod_div_rational.sol')
-rw-r--r-- | test/libsolidity/syntaxTests/constants/mod_div_rational.sol | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/libsolidity/syntaxTests/constants/mod_div_rational.sol b/test/libsolidity/syntaxTests/constants/mod_div_rational.sol new file mode 100644 index 00000000..f8b6ce31 --- /dev/null +++ b/test/libsolidity/syntaxTests/constants/mod_div_rational.sol @@ -0,0 +1,6 @@ +contract C { + fixed a1 = 0.1 % -0.4271087646484375; + fixed a2 = 0.1 % 0.4271087646484375; + fixed a3 = 0 / 0.123; + fixed a4 = 0 / -0.123; +} |