aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeGenCXX/new.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-06-01 00:26:14 +0000
committerAnders Carlsson <andersca@mac.com>2009-06-01 00:26:14 +0000
commitfa7c608eccdf0e836d0b3391d7235a1bb20007b1 (patch)
treed9a02d96b9d3345b949c0297932e16f54e3174e4 /clang/test/CodeGenCXX/new.cpp
parentca50119a31d335b46dcc9940f6f6fd6cabe8ea33 (diff)
downloadllvm-fa7c608eccdf0e836d0b3391d7235a1bb20007b1.zip
llvm-fa7c608eccdf0e836d0b3391d7235a1bb20007b1.tar.gz
llvm-fa7c608eccdf0e836d0b3391d7235a1bb20007b1.tar.bz2
Fix a thinko.
llvm-svn: 72679
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 70ad269..480bbce 100644
--- a/clang/test/CodeGenCXX/new.cpp
+++ b/clang/test/CodeGenCXX/new.cpp
@@ -50,3 +50,7 @@ int *t6() {
// Null check.
return new (0) int(10);
}
+
+void t7() {
+ new int();
+}