solidity/test/libsolidity/syntaxTests/parsing/declaring_fixed_literal_variables.sol
2021-10-06 13:55:38 +02:00

6 lines
195 B
Solidity

contract A {
fixed40x40 pi = 3.14;
}
// ----
// TypeError 7407: (33-37): Type rational_const 157 / 50 is not implicitly convertible to expected type fixed40x40. Number is too large for type.