From: Aaron Ballman Date: Thu, 30 May 2013 02:02:23 +0000 (+0000) Subject: Switching the tests to use size_t instead of unsigned int to hopefully appease the... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=531bf9c7b6243a2bbe959db9357e81eaf822315c;p=clang Switching the tests to use size_t instead of unsigned int to hopefully appease the Linux x64 build bot. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182906 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGenCXX/microsoft-new.cpp b/test/CodeGenCXX/microsoft-new.cpp index 80a5019fd4..48e93d4aa0 100644 --- a/test/CodeGenCXX/microsoft-new.cpp +++ b/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 + 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() {