summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/mangle-ms.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2012-05-01 05:23:51 +0000
committerJohn McCall <rjmccall@apple.com>2012-05-01 05:23:51 +0000
commitb91cd6687c3c4ca79fac16dbef0c991a185fa19e (patch)
tree451441c3acf24f01a2aec36a7361d68a7a175038 /clang/test/CodeGenCXX/mangle-ms.cpp
parent0eacda5f6997d7b691904d3eb555a3a47fa7361d (diff)
downloadbcm5719-llvm-b91cd6687c3c4ca79fac16dbef0c991a185fa19e.tar.gz
bcm5719-llvm-b91cd6687c3c4ca79fac16dbef0c991a185fa19e.zip
Refactor the C++ ABI code a little bit to take advantage of
what I'm going to treat as basically universal properties of array-cookie code. Implement MS array cookies on top of that. Based on a patch by Timur Iskhodzhanov! llvm-svn: 155886
Diffstat (limited to 'clang/test/CodeGenCXX/mangle-ms.cpp')
-rw-r--r--clang/test/CodeGenCXX/mangle-ms.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/test/CodeGenCXX/mangle-ms.cpp b/clang/test/CodeGenCXX/mangle-ms.cpp
index ceaa669f199..6556ab73086 100644
--- a/clang/test/CodeGenCXX/mangle-ms.cpp
+++ b/clang/test/CodeGenCXX/mangle-ms.cpp
@@ -113,7 +113,6 @@ void operator_new_delete() {
char *array = new char[42];
// CHECK: @"\01??_U@YAPAXI@Z"
- // FIXME: enable once PR12333 is fixed
- // delete [] array;
-// Should be: @"\01??_V@YAXPAX@Z"
+ delete [] array;
+// CHECK: @"\01??_V@YAXPAX@Z"
}
OpenPOWER on IntegriCloud