aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/CodeGenCXX/new-operator-phi.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/CodeGenCXX/new-operator-phi.cpp b/test/CodeGenCXX/new-operator-phi.cpp
index 03f528cfbe..a5eed28ccf 100644
--- a/test/CodeGenCXX/new-operator-phi.cpp
+++ b/test/CodeGenCXX/new-operator-phi.cpp
@@ -1,7 +1,8 @@
// RUN: clang-cc -emit-llvm-only -verify %s
// PR5454
+#include <stddef.h>
-class X {static void * operator new(unsigned long size) throw(); X(int); };
+class X {static void * operator new(size_t size) throw(); X(int); };
int a(), b();
void b(int x)
{