Anyone want to run this through dmc?

Walter Bright newshound2 at digitalmars.com
Fri Jul 22 13:49:50 PDT 2011


On 7/12/2011 10:11 PM, bcs wrote:
> #include<stdio.h>
> struct S0 {
>    unsigned f1 : 1;
> };
>
> struct S0 s;
>
> int main (void) {
>    int x = -3;
>    int y = x>= (0, s.f1);
>    printf ("%d\n", y);
>    return 0;
> }
> bcs at doors:~/Downloads/dmc$ wine dm/bin/dmc.exe split.cpp
> link split,,,user32+kernel32/noi;
>
> bcs at doors:~/Downloads/dmc$ wine split.exe
> 1
>
> seems DMC is broke too, but it's debatable if this test case is of
> value to DMD.

DMC has its own bugzilla, can you post the csmith bugs there, and put csmith in 
the subject? That'd be cool!

http://bugzilla.digitalmars.com/issues/buglist.cgi?quicksearch=.


More information about the Digitalmars-d mailing list