r182906 - Switching the tests to use size_t instead of unsigned int to hopefully appease the Linux x64 build bot.
Aaron Ballman
aaron at aaronballman.com
Wed May 29 19:02:24 PDT 2013
Author: aaronballman
Date: Wed May 29 21:02:23 2013
New Revision: 182906
URL: http://llvm.org/viewvc/llvm-project?rev=182906&view=rev
Log:
Switching the tests to use size_t instead of unsigned int to hopefully appease the Linux x64 build bot.
Modified:
cfe/trunk/test/CodeGenCXX/microsoft-new.cpp
Modified: cfe/trunk/test/CodeGenCXX/microsoft-new.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/microsoft-new.cpp?rev=182906&r1=182905&r2=182906&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/microsoft-new.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/microsoft-new.cpp Wed May 29 21:02:23 2013
@@ -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() {
More information about the cfe-commits
mailing list