commit | f42d74f41076542fc9b4f4d5fa034dfa93b3c916 | [log] [tgz] |
---|---|---|
author | Fariborz Jahanian <fjahanian@apple.com> | Wed Nov 11 22:49:09 2009 +0000 |
committer | Fariborz Jahanian <fjahanian@apple.com> | Wed Nov 11 22:49:09 2009 +0000 |
tree | a890e154c53c852561ab80ee549748672682e908 | |
parent | 1f2fcee89677d597f2a10b54d6cefac0e79db504 [diff] [blame] |
Make test more platform independent. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86890 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGenCXX/new-operator-phi.cpp b/test/CodeGenCXX/new-operator-phi.cpp index 03f528c..a5eed28 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) {