reverted 'added a todo testcase for ticket #1788'

This commit is contained in:
Daniel Marjamäki 2010-06-12 08:36:10 +02:00
parent f3fbdc96e1
commit 3a4a151cc4
1 changed files with 0 additions and 23 deletions

View File

@ -2849,7 +2849,6 @@ private:
TEST_CASE(class13); TEST_CASE(class13);
TEST_CASE(class14); TEST_CASE(class14);
TEST_CASE(class15); TEST_CASE(class15);
TEST_CASE(class16);
TEST_CASE(staticvar); TEST_CASE(staticvar);
@ -3192,28 +3191,6 @@ private:
ASSERT_EQUALS("", errout.str()); ASSERT_EQUALS("", errout.str());
} }
void class16() // ticket 1788
{
check("template <class T> class A\n"
"{\n"
" private:\n"
" int nn;\n"
" T *v;\n"
" public:\n"
" A(int n): nn(n), v(new T[n]) {};\n"
" ~A();\n"
"};\n"
"template <class T> A<T>::~A()\n"
"{\n"
" delete[] (v);\n"
"}\n"
"void foo()\n"
"{\n"
" A<double> v(1);\n"
"}\n");
TODO_ASSERT_EQUALS("", errout.str());
}
void staticvar() void staticvar()
{ {