fork download
  1. #include <iostream>
  2.  
  3. struct foobar {
  4. void f() {
  5. std::cout << "ololo" << std::endl;
  6. }
  7. };
  8.  
  9. int main() {
  10. foobar* f = nullptr;
  11. f->f();
  12. return 0;
  13. }
Success #stdin #stdout 0s 3140KB
stdin
Standard input is empty
stdout
ololo