We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9731a3 commit 0a789eaCopy full SHA for 0a789ea
clang/test/SemaCXX/PR41441.cpp
@@ -1,6 +1,9 @@
1
// RUN: %clang --target=x86_64-pc-linux -S -fno-discard-value-names -emit-llvm -o - %s | FileCheck %s
2
3
-#include <new>
+namespace std {
4
+ using size_t = decltype(sizeof(int));
5
+};
6
+void* operator new[](std::size_t, void*) noexcept;
7
8
// CHECK: call void @llvm.memset.p0.i64(ptr align 1 %x, i8 0, i64 8, i1 false)
9
// CHECK: call void @llvm.memset.p0.i64(ptr align 16 %x, i8 0, i64 32, i1 false)
0 commit comments