Test case for #4644 (Tokenizer: Wrong varId after typename):
Added equivalent test with "class"
This commit is contained in:
parent
292e52364c
commit
e91e7148de
|
@ -4285,6 +4285,9 @@ private:
|
||||||
}
|
}
|
||||||
|
|
||||||
void varid_typename() {
|
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"
|
ASSERT_EQUALS("\n\n##file 0\n"
|
||||||
"1: template < int d , typename A , typename B >\n", tokenizeDebugListing("template<int d, typename A, typename B>"));
|
"1: template < int d , typename A , typename B >\n", tokenizeDebugListing("template<int d, typename A, typename B>"));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue