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