aboutsummaryrefslogblamecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/482_explicit_literal_to_unspecified_string.sol
blob: c44fab55af0d82162c4c42a6ad221b315ba6bd0d (plain) (tree)
1
2
3
4
5
6
7





                              
                                             
contract C {
    function f() pure public {
        string("abc");
    }
}
// ----
// Warning: (52-65): Statement has no effect.