summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/cxx-dtor.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2015-03-10 01:41:22 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2015-03-10 01:41:22 +0000
commitf81340096ddf2b5a75eee94a09ad30a7501ed816 (patch)
treeb3786a40e60f737643a705af917ae285ecf0a903 /clang/test/Modules/cxx-dtor.cpp
parent63acdfdeb26616dfa1d9657fa666afc9b9440a2a (diff)
downloadbcm5719-llvm-f81340096ddf2b5a75eee94a09ad30a7501ed816.tar.gz
bcm5719-llvm-f81340096ddf2b5a75eee94a09ad30a7501ed816.zip
[modules] Don't clobber a destructor's operator delete when adding another one;
move the operator delete updating into a separate update record so we can cope with updating another module's destructor's operator delete. llvm-svn: 231735
Diffstat (limited to 'clang/test/Modules/cxx-dtor.cpp')
-rw-r--r--clang/test/Modules/cxx-dtor.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/test/Modules/cxx-dtor.cpp b/clang/test/Modules/cxx-dtor.cpp
new file mode 100644
index 00000000000..ead67ec334e
--- /dev/null
+++ b/clang/test/Modules/cxx-dtor.cpp
@@ -0,0 +1,3 @@
+// RUN: rm -rf %t
+// RUN: %clang_cc1 -fmodules -x c++ -std=c++11 -fmodules-cache-path=%t -I %S/Inputs/cxx-dtor -emit-llvm-only %s
+#include "b.h"
OpenPOWER on IntegriCloud