Switching the tests to use size_t instead of unsigned int to hopefully appease the Linux x64 build bot.

llvm-svn: 182906
This commit is contained in:
Aaron Ballman 2013-05-30 02:02:23 +00:00
parent 324fbeeba7
commit 12354641fe
1 changed files with 6 additions and 4 deletions

View File

@ -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() {