fork download
  1. #include <iostream>
  2. #include <fstream>
  3. using namespace std;
  4.  
  5. ifstream f() {
  6. return ifstream("main.cpp");
  7. }
  8.  
  9. int main() {
  10. ifstream st= f();
  11. }
Success #stdin #stdout 0.01s 5520KB
stdin
Standard input is empty
stdout
Standard output is empty