fork download
  1. #include "stdbool.h"
  2. #include "stdint.h"
  3. #include "stdio.h"
  4.  
  5. typedef struct {
  6. union
  7. {
  8. uint64_t au;
  9. int64_t ai;
  10. } a_data;
  11. bool b;
  12. char* c;
  13. } data_t;
  14.  
  15. int main() {
  16. data_t d2 = { .a_data = { .ai = -10}, true, 0};
  17. }
Success #stdin #stdout 0.01s 5540KB
stdin
Standard input is empty
stdout
Standard output is empty