Fix test portability.

llvm-svn: 86911
This commit is contained in:
Daniel Dunbar 2009-11-12 00:41:41 +00:00
parent 09478e975d
commit d8ff51bf49
1 changed files with 2 additions and 1 deletions

View File

@ -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;