blob: 61c0cc178d070ac4f0778c9af1abcc595437f372 (
plain) (
tree)
|
|
contract C {
// This should probably have a better error message at some point.
// Constant mappings should not be possible in general.
mapping(uint => uint) constant x;
}
// ----
// TypeError: (148-180): Constants of non-value type not yet implemented.
// TypeError: (148-180): Uninitialized "constant" variable.
|