fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. class Foo
  5. {
  6. public:
  7. int x, y;
  8. };
  9.  
  10. Foo func() { return {5,10}; }
  11.  
  12. int main() {
  13. // your code goes here
  14. return 0;
  15. }
Success #stdin #stdout 0s 3408KB
stdin
Standard input is empty
stdout
Standard output is empty