// ----------------------------------------------------------------------
//
// autoptr.cc - Do we support std::auto_ptr<>?
//
// History:
//   16-Jan-2001  WEB  Initial draft
//   25-Apr-2001  WEB  s/<ISOcxxSyntax.hh>/"ISOcxx\/ISOcxxSyntax.hh"/
//
// ----------------------------------------------------------------------


#include "ISOcxx/ISOcxxSyntax.hh"

#include <memory>


int  f( std::auto_ptr<int> ap )  { return *ap; }


int  main()  {

  return f( std::auto_ptr<int>( new int(0)
                              )
          );

}  // main()
