fork download
  1. #include <iostream>
  2.  
  3. struct non_trivially {
  4. // non_trivially() {};
  5. };
  6.  
  7. union U {
  8. bool dummy{false};
  9. non_trivially value;
  10. };
  11.  
  12. int main() {
  13. U tmp;
  14. }
Success #stdin #stdout 0.01s 5712KB
stdin
Standard input is empty
stdout
Standard output is empty