aboutsummaryrefslogtreecommitdiff
path: root/test
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
commit215bd208d6eeff397bc4316d046ea8b4633efedf (patch)
tree774c7d166956d5c74f61f91bd40309ea2227e911 /test
parentf11085398dc27c0010663c711d4a10113e41d70f (diff)
Fix a thinko.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72679 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/CodeGenCXX/new.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/CodeGenCXX/new.cpp b/test/CodeGenCXX/new.cpp
index 70ad269d24..480bbcefc0 100644
--- a/test/CodeGenCXX/new.cpp
+++ b/test/CodeGenCXX/new.cpp
@@ -50,3 +50,7 @@ int *t6() {
// Null check.
return new (0) int(10);
}
+
+void t7() {
+ new int();
+}