fork(3) download
  1. #include <stdio.h>
  2. struct test
  3. {
  4. unsigned int x: 2;
  5. unsigned int y: 2;
  6. };
  7. int main()
  8. {
  9. struct test t;
  10. t.x = -1;
  11. printf("%x", t.x);
  12. return 0;
  13. }
Success #stdin #stdout 0s 2008KB
stdin
Standard input is empty
stdout
3