fixed todo testcase
This commit is contained in:
parent
618eed3d59
commit
3e4dd22eed
|
@ -1068,9 +1068,7 @@ private:
|
||||||
"\n"
|
"\n"
|
||||||
"template<typename T> inline B<T> h() { return B<T>(); }\n";
|
"template<typename T> inline B<T> h() { return B<T>(); }\n";
|
||||||
|
|
||||||
const std::string expected("; ; ;");
|
ASSERT_EQUALS("; ; typedef A < int > x ; typedef B < int > y ; ; ; ;", sizeof_(code));
|
||||||
|
|
||||||
TODO_ASSERT_EQUALS(expected, sizeof_(code));
|
|
||||||
|
|
||||||
ASSERT_EQUALS("class A { ; } ;", sizeof_("class A{ template<typename T> int foo(T d);};"));
|
ASSERT_EQUALS("class A { ; } ;", sizeof_("class A{ template<typename T> int foo(T d);};"));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue