diff options
| author | Aaron Ballman <aaron@aaronballman.com> | 2013-05-30 02:02:23 +0000 |
|---|---|---|
| committer | Aaron Ballman <aaron@aaronballman.com> | 2013-05-30 02:02:23 +0000 |
| commit | 12354641fe7befcc73ae461b1dcffb9be1be50b6 (patch) | |
| tree | 3150aa4b3da97c68417fb0375d3b8fc947f23d37 | |
| parent | 324fbeeba700668f4091d8ce1345d4a2aebee976 (diff) | |
| download | bcm5719-llvm-12354641fe7befcc73ae461b1dcffb9be1be50b6.tar.gz bcm5719-llvm-12354641fe7befcc73ae461b1dcffb9be1be50b6.zip | |
Switching the tests to use size_t instead of unsigned int to hopefully appease the Linux x64 build bot.
llvm-svn: 182906
| -rw-r--r-- | clang/test/CodeGenCXX/microsoft-new.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/clang/test/CodeGenCXX/microsoft-new.cpp b/clang/test/CodeGenCXX/microsoft-new.cpp index 80a5019fd48..48e93d4aa0f 100644 --- a/clang/test/CodeGenCXX/microsoft-new.cpp +++ b/clang/test/CodeGenCXX/microsoft-new.cpp @@ -1,10 +1,12 @@ // RUN: %clang_cc1 -triple i686-pc-win32 -fms-compatibility %s -emit-llvm -o - | FileCheck %s
+#include <stddef.h>
+
struct arbitrary_t {} arbitrary;
-void *operator new(unsigned int size, arbitrary_t);
+void *operator new(size_t size, arbitrary_t);
struct arbitrary2_t {} arbitrary2;
-void *operator new[](unsigned int size, arbitrary2_t);
+void *operator new[](size_t size, arbitrary2_t);
namespace PR13164 {
void f() {
@@ -15,7 +17,7 @@ namespace PR13164 { }
struct S {
- void *operator new[](unsigned int size, arbitrary_t);
+ void *operator new[](size_t size, arbitrary_t);
};
void g() {
@@ -26,7 +28,7 @@ namespace PR13164 { }
struct T {
- void *operator new(unsigned int size, arbitrary2_t);
+ void *operator new(size_t size, arbitrary2_t);
};
void h() {
|

