Test case for #4644 (Tokenizer: Wrong varId after typename):

Added equivalent test with "class"
This commit is contained in:
Frank Zingsheim 2013-03-12 19:50:24 +01:00
parent 292e52364c
commit e91e7148de
1 changed files with 3 additions and 0 deletions

View File

@ -4285,6 +4285,9 @@ private:
}
void varid_typename() {
ASSERT_EQUALS("\n\n##file 0\n"
"1: template < int d , class A , class B >\n", tokenizeDebugListing("template<int d, class A, class B>"));
ASSERT_EQUALS("\n\n##file 0\n"
"1: template < int d , typename A , typename B >\n", tokenizeDebugListing("template<int d, typename A, typename B>"));