================
@@ -251,3 +251,10 @@ class Test10 {
   Test10(T &&Item, E e)
       : e(e){}
 };
+
+// A deleted ctor cannot hide anything
+class Test11 {
+public:
+  template <typename T>
+  Test11(T&&) = delete;
----------------
MikeWeller wrote:

Although this is enough to trigger (or not after the fix) the issue, perhaps I 
should include a copy+move ctor below for clarity?

https://github.com/llvm/llvm-project/pull/88138
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to