[clang] [Clang][Sema] placement new initializes typedef array with correct size (PR #88902)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 16 11:56:11 PDT 2024
================
@@ -1,5 +1,5 @@
-// RUN: %clang -S -fno-discard-value-names -emit-llvm -o - %s | FileCheck %s
-// Issue no: 41441
+// RUN: %clang --target=x86_64-pc-linux -S -fno-discard-value-names -emit-llvm -o - %s | FileCheck %s
+
#include <new>
----------------
dyung wrote:
It does:
https://lab.llvm.org/buildbot/#/builders/280/builds/1989
```
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/SemaCXX/PR41441.cpp:3:10: fatal error: 'new' file not found
3 | #include <new>
| ^~~~~
1 error generated.
```
https://github.com/llvm/llvm-project/pull/88902
More information about the cfe-commits
mailing list