solidity/test/libsolidity/smtCheckerTests/file_level/free_constant_1.sol

12 lines
365 B
Solidity
Raw Normal View History

uint constant A = 42;
contract C {
function f(uint x) public pure returns (uint) {
return x + A;
}
}
2021-03-31 15:11:54 +00:00
// ====
// SMTEngine: all
// ----
2021-03-31 15:11:54 +00:00
// Warning 8195: (0-20): Model checker analysis was not possible because file level constants are not supported.
// Warning 8195: (0-20): Model checker analysis was not possible because file level constants are not supported.