fixed todo testcase

This commit is contained in:
Daniel Marjamäki 2009-11-01 21:00:43 +01:00
parent 618eed3d59
commit 3e4dd22eed
1 changed files with 1 additions and 3 deletions

View File

@ -1068,9 +1068,7 @@ private:
"\n"
"template<typename T> inline B<T> h() { return B<T>(); }\n";
const std::string expected("; ; ;");
TODO_ASSERT_EQUALS(expected, sizeof_(code));
ASSERT_EQUALS("; ; typedef A < int > x ; typedef B < int > y ; ; ; ;", sizeof_(code));
ASSERT_EQUALS("class A { ; } ;", sizeof_("class A{ template<typename T> int foo(T d);};"));
}