2018-05-30 16:41:34 +00:00
|
|
|
contract C {
|
|
|
|
function f() public {
|
2018-07-11 11:23:33 +00:00
|
|
|
uint[3] memory x = [45, 'foo', true];
|
2018-05-30 16:41:34 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
// ----
|
2018-07-11 11:23:33 +00:00
|
|
|
// TypeError: (66-83): Unable to deduce common type for array elements.
|