summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/new.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-05-31 21:07:58 +0000
committerAnders Carlsson <andersca@mac.com>2009-05-31 21:07:58 +0000
commit60d0c2c1c2eb81fe389a912f13762c8f18eb72d3 (patch)
treecd79cab2901fcc1103d730066b352319b586088a /clang/test/CodeGenCXX/new.cpp
parentec71f616087b403e0c4ee5d92a21f4c18c38fb23 (diff)
downloadbcm5719-llvm-60d0c2c1c2eb81fe389a912f13762c8f18eb72d3.tar.gz
bcm5719-llvm-60d0c2c1c2eb81fe389a912f13762c8f18eb72d3.zip
Support for complex types.
llvm-svn: 72675
Diffstat (limited to 'clang/test/CodeGenCXX/new.cpp')
-rw-r--r--clang/test/CodeGenCXX/new.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/test/CodeGenCXX/new.cpp b/clang/test/CodeGenCXX/new.cpp
index a1786e81817..dde7bfe9ee5 100644
--- a/clang/test/CodeGenCXX/new.cpp
+++ b/clang/test/CodeGenCXX/new.cpp
@@ -13,4 +13,6 @@ void t2(int* a) {
void t3() {
int *a = new int(10);
+ _Complex int* b = new _Complex int(10i);
+
}
OpenPOWER on IntegriCloud