diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-03-10 01:41:22 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-03-10 01:41:22 +0000 |
commit | f81340096ddf2b5a75eee94a09ad30a7501ed816 (patch) | |
tree | b3786a40e60f737643a705af917ae285ecf0a903 /clang/test/Modules/cxx-dtor.cpp | |
parent | 63acdfdeb26616dfa1d9657fa666afc9b9440a2a (diff) | |
download | bcm5719-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.cpp | 3 |
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" |