solidity/test/libsolidity/smtCheckerTests/types/string_2.sol

12 lines
284 B
Solidity
Raw Normal View History

2019-02-20 15:41:54 +00:00
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").