﻿id	summary	reporter	owner	description	type	status	priority	component	version	resolution	keywords	cc
39	Global const array initialization broke with references	Rob Schluntz	Rob Schluntz	"{{{
const int fred[1] = { -2 }; // fails for const and negative value

test.c:8 error: No reasonable alternatives for expression Cast of:
  Applying untyped: 
    Name: ?[?]
  ...to: 
    Variable Expression: fred: array of const signed int with dimension of Cast of:
          constant expression (1 1: one_t)
        to:
          long unsigned int
        with environment:
          Types:
          Non-types:


    Variable Expression: _index0: signed int


to:
  reference to signed int

error: No reasonable alternatives for expression Cast of:
  Applying untyped: 
    Name: ?[?]
  ...to: 
    Variable Expression: fred: array of const signed int with dimension of Cast of:
          constant expression (1 1: one_t)
        to:
          long unsigned int
        with environment:
          Types:
          Non-types:


    Variable Expression: _index0: signed int


to:
  reference to signed int
}}}"	defect	closed	critical	cfa-cc	1.0	fixed	global const array initialization references	
