diff options
Diffstat (limited to 'clang/test/CodeGenCXX/new-operator-phi.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/new-operator-phi.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/test/CodeGenCXX/new-operator-phi.cpp b/clang/test/CodeGenCXX/new-operator-phi.cpp index 03f528cfbe7..a5eed28ccf9 100644 --- a/clang/test/CodeGenCXX/new-operator-phi.cpp +++ b/clang/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) { |