#include "TGraph.h" TGraph *test_fun() { TGraph *g = new TGraph(); g->SetPoint(g->GetN(), 1, 1); return g; }