[clang] [Clang] Fix pack vs non-pack tie breaker. (PR #229024)

Corentin Jabot via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 9 04:32:49 PDT 2026


================
@@ -73,3 +73,20 @@ Trait<Y> t;
 // expected-note@#gh51866-one{{partial specialization matches}}
 // expected-note@#gh51866-two{{partial specialization matches}}
 }
+
+namespace GH27357 {
+struct S {
+  using type = int;
+};
+
+// T is used in a non-deduced context and has no value, so deduction fails in
+// both directions ([temp.deduct.partial]p12).
----------------
cor3ntin wrote:

Both!

https://github.com/llvm/llvm-project/pull/229024


More information about the cfe-commits mailing list