﻿id	summary	reporter	owner	description	type	status	priority	component	version	resolution	keywords	cc
142	constant expression problem	pabuhr		"The following works with gcc but fails with CFA.
{{{
struct S {
    int i;
};
enum { X = sizeof(struct S) };
int x[X];

cfa test5.cfa
CFA Version 1.0.0 (debug)
test5.cfa:4:1 error: Non-constexpr in initialization of enumerator: X: const instance of enum __anonymous0 with body 1 with initializer (not constructed)
  Simple Initializer: Generated Cast of:
    Sizeof Expression on: instance of struct S with body 1
  ... to:
    signed int
  ... with environment:
    Types:
    Non-types:
}}}"	defect	closed	major	cfa-cc	1.0	fixed		
