aboutsummaryrefslogblamecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/289_uint7_and_uintM_as_identifier.sol
blob: 58e84090e0a58d2ff67e753a57e91eff46e6244b (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                                         
contract test {
string uintM = "Hello 4 you";
    function f() public {
        uint8 uint7 = 3;
        uint7 = 5;
        string memory intM;
        uint bytesM = 21;
        intM; bytesM;
    }
}
// ----
// Warning: (50-197): Function state mutability can be restricted to pure