[cfe-commits] r86911 - /cfe/trunk/test/CodeGenCXX/new.cpp
Daniel Dunbar
daniel at zuster.org
Wed Nov 11 16:41:42 PST 2009
Author: ddunbar
Date: Wed Nov 11 18:41:41 2009
New Revision: 86911
URL: http://llvm.org/viewvc/llvm-project?rev=86911&view=rev
Log:
Fix test portability.
Modified:
cfe/trunk/test/CodeGenCXX/new.cpp
Modified: cfe/trunk/test/CodeGenCXX/new.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/new.cpp?rev=86911&r1=86910&r2=86911&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/new.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/new.cpp Wed Nov 11 18:41:41 2009
@@ -1,11 +1,12 @@
// RUN: clang-cc %s -emit-llvm -o - | FileCheck %s
+#include <stddef.h>
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;
More information about the cfe-commits
mailing list