diff --git a/clang/test/CodeGenCXX/new.cpp b/clang/test/CodeGenCXX/new.cpp index c6cee1845670..3f191de23bcf 100644 --- a/clang/test/CodeGenCXX/new.cpp +++ b/clang/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;