Skip to content

Commit 05d09ae

Browse files
Update testsymboldatabase.cpp
1 parent a9a94fb commit 05d09ae

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

test/testsymboldatabase.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -587,6 +587,7 @@ class TestSymbolDatabase : public TestFixture {
587587
TEST_CASE(valueType3);
588588
TEST_CASE(valueTypeThis);
589589
TEST_CASE(valueTypeChar);
590+
TEST_CASE(valueTypeRValueReference);
590591

591592
TEST_CASE(variadic1); // #7453
592593
TEST_CASE(variadic2); // #7649
@@ -10175,6 +10176,10 @@ class TestSymbolDatabase : public TestFixture {
1017510176
ASSERT_EQUALS("char", typeOf("char buf[10]; buf[0] = 'x';", "[ 0 ]", true, &s));
1017610177
}
1017710178

10179+
void valueTypeRValueReference() {
10180+
TODO_ASSERT_EQUALS("", "bool", typeOf("void f(std::string&& s = {})", "&&"));
10181+
}
10182+
1017810183
void variadic1() { // #7453
1017910184
{
1018010185
GET_SYMBOL_DB("CBase* create(const char *c1, ...);\n"

0 commit comments

Comments
 (0)