diff options
| author | Roman Divacky <rdivacky@FreeBSD.org> | 2009-11-18 14:59:57 +0000 |
|---|---|---|
| committer | Roman Divacky <rdivacky@FreeBSD.org> | 2009-11-18 14:59:57 +0000 |
| commit | b3d5a323a5ca92ea73443499cee2f15db1ff0fb3 (patch) | |
| tree | 60a1694bec5a44d15456acc880cb2f91619f66aa /test/CodeGenCXX/new.cpp | |
| parent | 8f57cb0305232cb53fff00ef151ca716766f3437 (diff) | |
Notes
Diffstat (limited to 'test/CodeGenCXX/new.cpp')
| -rw-r--r-- | test/CodeGenCXX/new.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/CodeGenCXX/new.cpp b/test/CodeGenCXX/new.cpp index c6cee1845670..3f191de23bcf 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 <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; |
