diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-04-19 03:48:30 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-04-19 03:48:30 +0000 |
commit | f4ff7ca63fe65f490a62ac7a0a9d92bca33bb4de (patch) | |
tree | a8df418dd7d7cfc2299a3424ca6c35e6ef04d7b0 /test/Modules/cxx-irgen.cpp | |
parent | 0d60af37712b2a5f81565b43545c19dea1dab93f (diff) | |
download | clang-f4ff7ca63fe65f490a62ac7a0a9d92bca33bb4de.tar.gz |
When a module completes the definition of a class template specialization imported from another module, emit an update record, rather than using the broken decl rewriting mechanism. If multiple modules do this, merge the definitions together, much as we would if they were separate declarations.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206680 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Modules/cxx-irgen.cpp')
-rw-r--r-- | test/Modules/cxx-irgen.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Modules/cxx-irgen.cpp b/test/Modules/cxx-irgen.cpp index 8c7281bde2..7c680f8211 100644 --- a/test/Modules/cxx-irgen.cpp +++ b/test/Modules/cxx-irgen.cpp @@ -3,6 +3,10 @@ // FIXME: When we have a syntax for modules in C++, use that. @import cxx_irgen_top; + +// CHECK-DAG: call i32 @_ZN8CtorInitIiE1fEv( +CtorInit<int> x; + @import cxx_irgen_left; @import cxx_irgen_right; |