diff --git a/lldb/unittests/Language/CPlusPlus/CPlusPlusLanguageTest.cpp b/lldb/unittests/Language/CPlusPlus/CPlusPlusLanguageTest.cpp --- a/lldb/unittests/Language/CPlusPlus/CPlusPlusLanguageTest.cpp +++ b/lldb/unittests/Language/CPlusPlus/CPlusPlusLanguageTest.cpp @@ -108,7 +108,10 @@ "llvm", "isUInt<10u>", "(unsigned long)", "", "llvm::isUInt<10u>"}, {"f, sizeof(B)()", "", "f, sizeof(B)", "()", "", - "f, sizeof(B)"}}; + "f, sizeof(B)"}, + {"llvm::Optional::operator*() const volatile &&", + "llvm::Optional", "operator*", "()", "const volatile &&", + "llvm::Optional::operator*"}}; for (const auto &test : test_cases) { CPlusPlusLanguage::MethodName method(ConstString(test.input));