[libcxx-commits] [libcxx] 3a44223 - [libc++] Fix test failing on macOS with modules enabled

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Tue Oct 3 10:54:16 PDT 2023


Author: Louis Dionne
Date: 2023-10-03T13:54:04-04:00
New Revision: 3a44223711eca1f2413364233c19550893cfd73f

URL: https://github.com/llvm/llvm-project/commit/3a44223711eca1f2413364233c19550893cfd73f
DIFF: https://github.com/llvm/llvm-project/commit/3a44223711eca1f2413364233c19550893cfd73f.diff

LOG: [libc++] Fix test failing on macOS with modules enabled

Added: 
    

Modified: 
    libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.const/pr40459.pass.cpp

Removed: 
    


################################################################################
diff  --git a/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.const/pr40459.pass.cpp b/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.const/pr40459.pass.cpp
index e94104fe8aa8ca5..326c2193f592ecb 100644
--- a/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.const/pr40459.pass.cpp
+++ b/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.const/pr40459.pass.cpp
@@ -20,6 +20,7 @@
 #include <cassert>
 #include <cstring>
 #include <memory>
+#include <new>
 #include <utility>
 
 #include "test_macros.h"


        


More information about the libcxx-commits mailing list