﻿id	summary	reporter	owner	description	type	status	priority	component	version	resolution	keywords	cc
184	Struct in forall cannot have member named same as an assertion	mlbrooks		"Code:
{{{
forall ( dtype T | { int x; } ) {
    struct S {
      #ifndef NOBUG
        int x;
      #endif
    };
    void ?{}( S(T) & ) {
        printf(""%d\n"", x);
    }
}

int main() {
    int x = 37;
    printf(""%d\n"", x);

    S(float) s;
}
}}}

Expect: Plain compile succeeds and runs with output 
{{{
37
37
}}}

Actual a: Plain compile fails with
{{{
error: duplicate object definition for x: signed int
}}}

Actual b: Compile -DNOBUG behaves as expected for plain.

Note that the type parameter on S is not used.  It's included as a workaround for another known issue."	defect	new	minor	cfa-cc	1.0			
