diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2011-01-11 00:26:26 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2011-01-11 00:26:26 +0000 |
commit | c5f657fe308f22243f674fc1dfbe24915944d8bf (patch) | |
tree | 5c678e1dbdee944d626939200888324bb4dc3a92 /test/CodeGenCXX/implicit-copy-constructor.cpp | |
parent | 0024f940dd15987b8ffbe6e787dcf860a9ea1eff (diff) |
Add unnamed_addr to constructors and destructors.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@123197 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/implicit-copy-constructor.cpp')
-rw-r--r-- | test/CodeGenCXX/implicit-copy-constructor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGenCXX/implicit-copy-constructor.cpp b/test/CodeGenCXX/implicit-copy-constructor.cpp index a343dd154c..adc5ae5fb2 100644 --- a/test/CodeGenCXX/implicit-copy-constructor.cpp +++ b/test/CodeGenCXX/implicit-copy-constructor.cpp @@ -40,7 +40,7 @@ void f(D d) { D d2(d); } -// CHECK: define linkonce_odr void @_ZN1DC1ERS_ +// CHECK: define linkonce_odr unnamed_addr void @_ZN1DC1ERS_ // CHECK: call void @_ZN1AC1Ev // CHECK: call void @_ZN1CC2ERS_1A // CHECK: call void @_ZN1AD1Ev |