/* -*- C++ -*- */ /************************************************************************* * Copyright(c) 1995~2005 Masaharu Goto (root-cint@cern.ch) * * For the licensing terms see the file COPYING * ************************************************************************/ //macro2.C #include #include #ifndef __hpux using namespace std; #endif void myfunc(vector &v) { printf("%d\n",v[0]); } int main() { vector v; v.push_back(3); myfunc(v); return 0; }