run astyle

This commit is contained in:
seb777 2011-06-20 23:06:18 +02:00
parent 172903cde4
commit f1782799cb
1 changed files with 7 additions and 7 deletions

View File

@ -1321,13 +1321,13 @@ private:
void autoPointer()
{
// ticket 2846
check("void f()\n"
"{\n"
" std::vector<int*> vec;\n"
" vec.push_back(new int(3));\n"
" std::auto_ptr<int> ret(vec[0]);\n"
"};\n");
// ticket 2846
check("void f()\n"
"{\n"
" std::vector<int*> vec;\n"
" vec.push_back(new int(3));\n"
" std::auto_ptr<int> ret(vec[0]);\n"
"};\n");
ASSERT_EQUALS("", errout.str());
// ticket 2839