summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/new.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-09-02 23:24:14 +0000
committerDouglas Gregor <dgregor@apple.com>2010-09-02 23:24:14 +0000
commit040ad500c4c2bdf56f73f1d6ac9b287bc3b2828c (patch)
treec3dadb16cddc320100326b172674e01fe5a488ae /clang/test/CodeGenCXX/new.cpp
parentfc561bad880d56869ee75a2e36fa43358b73510f (diff)
downloadbcm5719-llvm-040ad500c4c2bdf56f73f1d6ac9b287bc3b2828c.tar.gz
bcm5719-llvm-040ad500c4c2bdf56f73f1d6ac9b287bc3b2828c.zip
Fix a few more ConvertTypes that should be ConvertTypeForMems, fixing
two regressions in Boost.Config. llvm-svn: 112908
Diffstat (limited to 'clang/test/CodeGenCXX/new.cpp')
-rw-r--r--clang/test/CodeGenCXX/new.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/CodeGenCXX/new.cpp b/clang/test/CodeGenCXX/new.cpp
index d52ebbe4501..10a6f7f4890 100644
--- a/clang/test/CodeGenCXX/new.cpp
+++ b/clang/test/CodeGenCXX/new.cpp
@@ -158,4 +158,8 @@ void f() {
// CHECK: call void @_ZN5AllocD1Ev(
// CHECK: call void @_ZN5AllocdaEPv(i8*
delete[] new Alloc[10][20];
+ // CHECK: call noalias i8* @_Znwm
+ // CHECK: call void @_ZdlPv(i8*
+ delete new bool;
+ // CHECK: ret void
}
OpenPOWER on IntegriCloud