We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c14fc7 commit 6b6136bCopy full SHA for 6b6136b
1 file changed
test/testsymboldatabase.cpp
@@ -10164,6 +10164,15 @@ class TestSymbolDatabase : public TestFixture {
10164
ASSERT(tok);
10165
TODO_ASSERT(tok->valueType() && "container(std :: string|wstring|u16string|u32string)" == tok->valueType()->str());
10166
}
10167
+ {
10168
+ GET_SYMBOL_DB("void f() {\n"
10169
+ " int &&x = 0;\n"
10170
+ "}\n");
10171
+
10172
+ const Token* tok = Token::findsimplematch(tokenizer.tokens(), "&&");
10173
+ ASSERT(tok);
10174
+ ASSERT_EQUALS(static_cast<const ValueType*>(nullptr), tok->valueType());
10175
+ }
10176
10177
10178
void valueTypeThis() {
0 commit comments