aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/159_storage_variable_initialization_with_incorrect_type_string.sol
blob: 75736d9887b8b3134344a1b322e1ad88f11adf5c (plain) (blame)
1
2
3
4
5
contract c {
    uint a = "abc";
}
// ----
// TypeError: (26-31): Type literal_string "abc" is not implicitly convertible to expected type uint256.