From: Daniel Dunbar Date: Thu, 12 Nov 2009 00:41:41 +0000 (+0000) Subject: Fix test portability. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=010c3f531a634d0b6d56f433323f7283f684c1d0;p=clang Fix test portability. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86911 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGenCXX/new.cpp b/test/CodeGenCXX/new.cpp index c6cee18456..3f191de23b 100644 --- a/test/CodeGenCXX/new.cpp +++ b/test/CodeGenCXX/new.cpp @@ -1,11 +1,12 @@ // RUN: clang-cc %s -emit-llvm -o - | FileCheck %s +#include void t1() { int* a = new int; } // Placement. -void* operator new(unsigned long, void*) throw(); +void* operator new(size_t, void*) throw(); void t2(int* a) { int* b = new (a) int;