diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2009-11-11 22:49:09 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2009-11-11 22:49:09 +0000 |
commit | f42d74f41076542fc9b4f4d5fa034dfa93b3c916 (patch) | |
tree | a890e154c53c852561ab80ee549748672682e908 /test/CodeGenCXX/new-operator-phi.cpp | |
parent | 1f2fcee89677d597f2a10b54d6cefac0e79db504 (diff) |
Make test more platform independent.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86890 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/new-operator-phi.cpp')
-rw-r--r-- | test/CodeGenCXX/new-operator-phi.cpp | 3 |
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) { |