fork download
  1. struct test {
  2. test* operator & ()
  3. {return this;}
  4. };
  5. test f() { return test(); }
  6. void print(test *x) {}
  7. int main()
  8. {
  9. print(&f());
  10. print(&test());
  11. }
Success #stdin #stdout 0.01s 2720KB
stdin
Standard input is empty
stdout
Standard output is empty