solidity/test/libsolidity/smtCheckerTests/types/string_2.sol
Leonardo Alt cb6c2b33f8 Add tests
2019-03-06 11:29:26 +01:00

12 lines
284 B
Solidity

pragma experimental SMTChecker;
contract C
{
function f() public pure {
string memory s = "Hello World";
}
}
// ----
// Warning: (76-91): Unused local variable.
// Warning: (94-107): Assertion checker does not yet support the type of this literal (literal_string "Hello World").