aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/276_invalid_types_in_inline_array.sol
blob: 03d7266a9c5f6e47aec71ee0d0a485ea17f077fc (plain) (blame)
1
2
3
4
5
6
7
contract C {
    function f() public {
        uint[3] memory x = [45, 'foo', true];
    }
}
// ----
// TypeError: (66-83): Unable to deduce common type for array elements.