fork download
  1. #include <iostream>
  2. #include <vector>
  3. using namespace std;
  4.  
  5. vector<float> f() {
  6. return vector<float>();
  7. }
  8.  
  9. int main() {
  10. vector<float> v = f();
  11. v.push_back(1);
  12. return 0;
  13. }
  14.  
Success #stdin #stdout 0.01s 5284KB
stdin
Standard input is empty
stdout
Standard output is empty