[libcxx-commits] [libcxx] Add a regression test for recent regression in pair. (PR #97355)

James Y Knight via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jul 2 08:13:45 PDT 2024


================
@@ -0,0 +1,15 @@
+// Check that instantiating pair doesn't look up type traits "too early", before
+// the contained types have been completed.
+//
+// This is a regression test, to prevent a reoccurrance of the issue introduced in
+// 5e1de27f680591a870d78e9952b23f76aed7f456.
+
+// expected-no-diagnostics
----------------
jyknight wrote:

Done.

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


More information about the libcxx-commits mailing list