@@ -118,12 +118,6 @@ TEST_F(DefineOutlineTest, TriggersOnFunctionDecl) {
118118 template <> void fo^o<int>() {}
119119 )cpp" );
120120
121- // Not available on member function templates with unnamed template
122- // parameters.
123- EXPECT_UNAVAILABLE (R"cpp(
124- struct Foo { template <typename> void ba^r() {} };
125- )cpp" );
126-
127121 // Not available on methods of unnamed classes.
128122 EXPECT_UNAVAILABLE (R"cpp(
129123 struct Foo {
@@ -410,14 +404,14 @@ inline typename O1<T, U...>::template O2<V, A>::E O1<T, U...>::template O2<V, A>
410404 {
411405 R"cpp(
412406 struct Foo {
413- template <typename T, bool B = true>
407+ template <typename T, typename, bool B = true>
414408 T ^bar() { return {}; }
415409 };)cpp" ,
416410 R"cpp(
417411 struct Foo {
418- template <typename T, bool B = true>
412+ template <typename T, typename, bool B = true>
419413 T bar() ;
420- };template <typename T, bool B>
414+ };template <typename T, typename, bool B>
421415inline T Foo::bar() { return {}; }
422416)cpp" ,
423417 " " },
@@ -426,13 +420,13 @@ inline T Foo::bar() { return {}; }
426420 {
427421 R"cpp(
428422 template <typename T> struct Foo {
429- template <typename U> T ^bar(const T& t, const U& u) { return {}; }
423+ template <typename U, bool > T ^bar(const T& t, const U& u) { return {}; }
430424 };)cpp" ,
431425 R"cpp(
432426 template <typename T> struct Foo {
433- template <typename U> T bar(const T& t, const U& u) ;
427+ template <typename U, bool > T bar(const T& t, const U& u) ;
434428 };template <typename T>
435- template <typename U>
429+ template <typename U, bool >
436430inline T Foo<T>::bar(const T& t, const U& u) { return {}; }
437431)cpp" ,
438432 " " },
0 commit comments