aboutsummaryrefslogblamecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/160_test_byte_is_alias_of_byte1.sol
blob: 9977c839c392249fb1879b11676209f708285c46 (plain) (tree)
1
2
3
4
5
6
7






                                                                        
contract c {
    bytes arr;
    function f() public { byte a = arr[0];}
}
// ----
// Warning: (54-60): Unused local variable.
// Warning: (32-71): Function state mutability can be restricted to view