[libcxx-commits] [libcxx] [libc++][test] Close LWG3018 and add tests (PR #93047)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Fri May 24 09:18:41 PDT 2024
================
@@ -76,6 +76,19 @@ static_assert(!std::is_constructible<std::shared_ptr<int[5]>, int*, bad_deleter>
static_assert(!std::is_constructible<std::shared_ptr<int[5]>, int(*)[5], test_deleter<int>>::value, "");
#endif
+int f() { return 5; }
+
+// https://cplusplus.github.io/LWG/issue3018
+// LWG 3018. shared_ptr of function type
+void test_function_type() {
----------------
ldionne wrote:
This function is never called!
https://github.com/llvm/llvm-project/pull/93047
More information about the libcxx-commits
mailing list