fork(1) download
  1. #include <iostream>
  2.  
  3. struct Slot {
  4. uint32_t O : 24;
  5. uint8_t T;
  6. uint32_t L : 24;
  7. uint8_t S;
  8. };
  9.  
  10. int main() {
  11. std::cout << sizeof(Slot) << std::endl;
  12. }
Success #stdin #stdout 0s 3140KB
stdin
Standard input is empty
stdout
8