Anyone want to run this through dmc?

bcs bcs at google.com
Tue Jul 12 22:11:32 PDT 2011


I broke down and installed wine:

bcs at doors:~/Downloads/dmc$ cat split.cpp
#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.


More information about the Digitalmars-d mailing list